Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 109 kB / 21.23 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002201/0.002201, allocations: 209.9 kB / 24.54 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.047 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 60.77 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2552, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004353/0.2596, allocations: 2.919 MB / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.261, allocations: 0.7596 MB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.2612, allocations: 4 kB / 435.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2614, allocations: 47.52 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.2616, allocations: 103.2 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.2619, allocations: 119.8 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.2624, allocations: 386.5 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.2626, allocations: 91.66 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.263, allocations: 163.4 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2632, allocations: 163.2 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.2633, allocations: 40 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.2633, allocations: 36 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.2634, allocations: 79.75 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.2636, allocations: 167.1 kB / 437 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.2641, allocations: 435.2 kB / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2641, allocations: 0 / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2641, allocations: 0 / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2641, allocations: 0 / 437.4 MB, free: 1.387 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001281/0.2654, allocations: 0.5887 MB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2654, allocations: 11.97 kB / 438 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.2655, allocations: 54.73 kB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.2656, allocations: 36.75 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.266, allocations: 242.8 kB / 438.3 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.266, allocations: 16.88 kB / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.266, allocations: 24.38 kB / 438.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.2667, allocations: 322.8 kB / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2667, allocations: 0 / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.2668, allocations: 11.94 kB / 438.7 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2668, allocations: 8 kB / 438.7 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.2676, allocations: 273.8 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.2696, allocations: 1.13 MB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.2705, allocations: 234.6 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.2708, allocations: 92.78 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.2708, allocations: 4 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/0.2713, allocations: 172.9 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.2713, allocations: 0 / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001977/0.2733, allocations: 0.5213 MB / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.2734, allocations: 85.11 kB / 441.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.2738, allocations: 261.9 kB / 441.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.2738, allocations: 29.7 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.274, allocations: 196 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.274, allocations: 47.62 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.2741, allocations: 49.7 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2743, allocations: 330.8 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.2746, allocations: 104.2 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.275, allocations: 195.5 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.2757, allocations: 307.7 kB / 442.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2757, allocations: 0 / 442.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001156/0.2769, allocations: 443.9 kB / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.2769, allocations: 33.64 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2769, allocations: 4 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/0.2773, allocations: 68.88 kB / 443.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2775, allocations: 51.91 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.2797, allocations: 1.543 MB / 444.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.28, allocations: 55.84 kB / 444.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.2801, allocations: 19.92 kB / 444.9 MB, free: 9.414 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.2802, allocations: 145.8 kB / 445.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.2803, allocations: 23.86 kB / 445.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.2803, allocations: 21.7 kB / 445.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2803, allocations: 4 kB / 445.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.2803, allocations: 0 / 445.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2803, allocations: 4 kB / 445.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.2807, allocations: 292.4 kB / 445.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2807, allocations: 0 / 445.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.2808, allocations: 35.91 kB / 445.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.2811, allocations: 60.81 kB / 445.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2811, allocations: 4 kB / 445.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.2831, allocations: 1.525 MB / 447 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2831, allocations: 4.031 kB / 447 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.2843, allocations: 445.5 kB / 447.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.2844, allocations: 27.88 kB / 447.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.2844, allocations: 8 kB / 447.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2846, allocations: 36.02 kB / 447.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.2847, allocations: 23.91 kB / 447.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2847, allocations: 0 / 447.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.2849, allocations: 189.2 kB / 447.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2849, allocations: 0 / 447.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.2852, allocations: 67.89 kB / 447.8 MB, free: 6.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/0.2868, allocations: 0.9882 MB / 448.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009171/0.2878, allocations: 406.3 kB / 449.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2878, allocations: 4.188 kB / 449.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.2882, allocations: 214.5 kB / 449.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2885, allocations: 40.42 kB / 449.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.2957, allocations: 3.404 MB / 452.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.296, allocations: 0.7596 MB / 453.6 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.2962, allocations: 26.28 kB / 453.6 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.2963, allocations: 75.42 kB / 453.7 MB, free: 188 kB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2963, allocations: 0 / 453.7 MB, free: 188 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/0.3426, allocations: 6.461 MB / 460.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.15, allocations: 11.31 kB / 460.2 MB, free: 9.875 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.507263964042068] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.c.v', 'integrator.opAmp.out.v', 'integrator.opAmp.out.i'] 12.254877161234617 12.282968574 12.013927116 Calling exit ...