Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.231/0.231, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica 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.002252/0.002252, allocations: 83.86 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3746, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.005008/0.3797, allocations: 3.365 MB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.383, allocations: 1.601 MB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.3834, allocations: 25.62 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.384, allocations: 140.7 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.3845, allocations: 193.4 kB / 0.5358 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.3858, allocations: 0.5438 MB / 0.5363 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.3868, allocations: 0.9111 MB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.3872, allocations: 228.9 kB / 0.5374 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.3878, allocations: 359.9 kB / 0.5378 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.3883, allocations: 398.5 kB / 0.5382 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3884, allocations: 61.94 kB / 0.5382 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.3886, allocations: 66.72 kB / 0.5383 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.3888, allocations: 206.2 kB / 0.5385 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.3892, allocations: 340 kB / 0.5388 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000967/0.3901, allocations: 0.791 MB / 0.5396 GB, free: 6.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3902, allocations: 0 / 0.5396 GB, free: 6.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3902, allocations: 4 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.3902, allocations: 0.8125 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.0024/0.3926, allocations: 1.178 MB / 0.5407 GB, free: 5.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3927, allocations: 15.36 kB / 0.5408 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.3928, allocations: 85.36 kB / 0.5408 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.393, allocations: 102.6 kB / 0.5409 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.394, allocations: 0.6 MB / 0.5415 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.3941, allocations: 41.34 kB / 0.5416 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.3942, allocations: 50.59 kB / 0.5416 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.3954, allocations: 0.614 MB / 0.5422 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.3954, allocations: 5.094 kB / 0.5422 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.3955, allocations: 21.06 kB / 0.5422 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.3955, allocations: 15.88 kB / 0.5422 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3966, allocations: 465.8 kB / 0.5427 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.4004, allocations: 2.651 MB / 0.5453 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4016, allocations: 0.543 MB / 0.5458 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.4022, allocations: 258.7 kB / 0.5461 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.4023, allocations: 3.75 kB / 0.5461 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4023, allocations: 42.03 kB / 0.5461 GB, free: 1.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 4.588e-06/0.4024, allocations: 0 / 0.5461 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002656/0.405, allocations: 1.17 MB / 0.5472 GB, free: 380 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.4051, allocations: 162.2 kB / 0.5474 GB, free: 180 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.4061, allocations: 0.6451 MB / 0.548 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.4061, allocations: 41.7 kB / 0.5481 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.4064, allocations: 368.5 kB / 0.5484 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.4066, allocations: 174.5 kB / 0.5486 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.4068, allocations: 122.3 kB / 0.5487 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.407, allocations: 329.9 kB / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.4076, allocations: 275.3 kB / 0.5493 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.4084, allocations: 437.5 kB / 0.5497 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.4098, allocations: 0.6817 MB / 0.5504 GB, free: 12.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.4098, allocations: 4 kB / 0.5504 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001679/0.4115, allocations: 0.7985 MB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4116, allocations: 4 kB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4116, allocations: 8 kB / 0.5512 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4116, allocations: 8 kB / 0.5512 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.4123, allocations: 143.8 kB / 0.5513 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.4123, allocations: 15.88 kB / 0.5513 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.4128, allocations: 83.77 kB / 0.5514 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.4129, allocations: 24 kB / 0.5514 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007878/0.4137, allocations: 409.2 kB / 0.5518 GB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007213/0.4144, allocations: 421.3 kB / 0.5522 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/0.4157, allocations: 0.6531 MB / 0.5528 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.4157, allocations: 0 / 0.5528 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001558/0.4173, allocations: 0.7739 MB / 0.5536 GB, free: 9.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4173, allocations: 8 kB / 0.5536 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4173, allocations: 4 kB / 0.5536 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4173, allocations: 8 kB / 0.5536 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.4179, allocations: 148.2 kB / 0.5538 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.418, allocations: 15.88 kB / 0.5538 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.4185, allocations: 83.62 kB / 0.5539 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.4185, allocations: 27.98 kB / 0.5539 GB, free: 9.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.4187, allocations: 212.1 kB / 0.5541 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.4189, allocations: 79.53 kB / 0.5542 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.4191, allocations: 86.22 kB / 0.5542 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.4191, allocations: 11.94 kB / 0.5543 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4191, allocations: 3.938 kB / 0.5543 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4191, allocations: 7.984 kB / 0.5543 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.4205, allocations: 0.8532 MB / 0.5551 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4206, allocations: 3.938 kB / 0.5551 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.4212, allocations: 107.8 kB / 0.5552 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4212, allocations: 0 / 0.5552 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.4213, allocations: 15.98 kB / 0.5552 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4213, allocations: 0 / 0.5552 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4213, allocations: 0 / 0.5552 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.4234, allocations: 1.144 MB / 0.5563 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.4237, allocations: 204.4 kB / 0.5565 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.4237, allocations: 11.98 kB / 0.5565 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.4243, allocations: 51.94 kB / 0.5566 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.4244, allocations: 47.83 kB / 0.5566 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.4245, allocations: 8 kB / 0.5566 GB, free: 6.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006939/0.4252, allocations: 467 kB / 0.5571 GB, free: 5.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4252, allocations: 0 / 0.5571 GB, free: 5.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007544/0.4259, allocations: 188 kB / 0.5573 GB, free: 5.645 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002452/0.4284, allocations: 1.699 MB / 0.5589 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.4306, allocations: 0.9559 MB / 0.5599 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4306, allocations: 0 / 0.5599 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.4313, allocations: 278.8 kB / 0.5601 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.4324, allocations: 196.1 kB / 0.5603 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.4432, allocations: 6.658 MB / 0.5668 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.4438, allocations: 0.9458 MB / 0.5677 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005389/0.4444, allocations: 156.8 kB / 0.5679 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.4448, allocations: 255.4 kB / 0.5681 GB, free: 10.22 MB / 430.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4448, allocations: 0 / 0.5681 GB, free: 10.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.494/1.939, allocations: 14.55 MB / 0.5824 GB, free: 11.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 27.82/29.76, allocations: 4.062 kB / 0.5824 GB, free: 11.79 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)