Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 43.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 53.36 MB / 432 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00439/0.2351, allocations: 2.98 MB / 434.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2366, allocations: 0.7636 MB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2367, allocations: 11.94 kB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.2369, allocations: 51.5 kB / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.2371, allocations: 95.19 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.2374, allocations: 123.8 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.2379, allocations: 414.4 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.2381, allocations: 97.34 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2383, allocations: 159.4 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.2386, allocations: 183.2 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.2386, allocations: 40 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.2387, allocations: 43.94 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.2388, allocations: 79.7 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.239, allocations: 175.2 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.2395, allocations: 454.3 kB / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2395, allocations: 0 / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2395, allocations: 0 / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2395, allocations: 0 / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001338/0.2408, allocations: 0.6052 MB / 438.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2409, allocations: 12.03 kB / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/0.2409, allocations: 8.688 kB / 438.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.737e-05/0.241, allocations: 62.72 kB / 438.3 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.241, allocations: 36.7 kB / 438.3 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.2415, allocations: 253.8 kB / 438.6 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2415, allocations: 16.88 kB / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.2416, allocations: 24.36 kB / 438.6 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.2423, allocations: 330.6 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2423, allocations: 0 / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.2424, allocations: 12 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2424, allocations: 8 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008341/0.2432, allocations: 285.7 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2452, allocations: 1.108 MB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.246, allocations: 238.6 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.2464, allocations: 96.78 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2464, allocations: 4 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.2469, allocations: 181.8 kB / 440.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2469, allocations: 0 / 440.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002321/0.2492, allocations: 0.5838 MB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.2493, allocations: 110.8 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.2496, allocations: 290 kB / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.2496, allocations: 29.7 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.2498, allocations: 204 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.2498, allocations: 47.64 kB / 442.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.2499, allocations: 49.94 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2501, allocations: 330.8 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.2504, allocations: 108.4 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.2509, allocations: 204.8 kB / 442.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.2516, allocations: 311.8 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2516, allocations: 3.938 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001296/0.2529, allocations: 478.1 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.2529, allocations: 33.7 kB / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.2529, allocations: 4 kB / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.2533, allocations: 88.86 kB / 443.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.2535, allocations: 55.77 kB / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.2563, allocations: 1.882 MB / 445.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.2566, allocations: 59.81 kB / 445.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.2567, allocations: 12 kB / 445.7 MB, free: 8.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.2568, allocations: 152.3 kB / 445.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.2569, allocations: 27.84 kB / 445.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.2569, allocations: 17.78 kB / 445.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2569, allocations: 7.984 kB / 445.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2569, allocations: 0 / 445.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.257, allocations: 3.938 kB / 445.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.2573, allocations: 304.5 kB / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2573, allocations: 0 / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2574, allocations: 19.97 kB / 446.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.2577, allocations: 96.86 kB / 446.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2577, allocations: 0 / 446.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.2601, allocations: 1.701 MB / 448 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.2601, allocations: 11.91 kB / 448 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2612, allocations: 369.4 kB / 448.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.2613, allocations: 31.8 kB / 448.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.2613, allocations: 0 / 448.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2616, allocations: 35.95 kB / 448.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.2617, allocations: 23.91 kB / 448.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2617, allocations: 192 / 448.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.2619, allocations: 205.2 kB / 448.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2619, allocations: 3.938 kB / 448.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.2623, allocations: 79.89 kB / 448.7 MB, free: 5.395 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.2638, allocations: 0.898 MB / 449.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2649, allocations: 425.9 kB / 450 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2649, allocations: 0 / 450 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004825/0.2653, allocations: 231.1 kB / 450.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2657, allocations: 54.88 kB / 450.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.2711, allocations: 3.111 MB / 453.4 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.2715, allocations: 0.756 MB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.2716, allocations: 30.27 kB / 454.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2717, allocations: 83.41 kB / 454.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2717, allocations: 4 kB / 454.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.3036, allocations: 7.119 MB / 461.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.5, allocations: 11.98 kB / 461.4 MB, free: 8.629 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.778084254008718] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.opAmp.out.v', 'gain.opAmp.out.i'] 12.680693786009215 12.703388816 12.45941093 Calling exit ...