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.002348/0.002348, allocations: 118.2 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.001954/0.001954, allocations: 198 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.611/1.611, allocations: 227.4 MB / 247 MB, free: 10.45 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.2441/0.2441, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002866/0.002866, allocations: 83.8 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3733, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.005004/0.3784, allocations: 3.355 MB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.3819, allocations: 1.605 MB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.3824, allocations: 21.62 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.3831, allocations: 145.6 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.3836, allocations: 190.5 kB / 0.5358 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.385, allocations: 0.5435 MB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.3862, allocations: 0.9101 MB / 0.5372 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.3866, allocations: 228.2 kB / 0.5374 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.3872, allocations: 359.3 kB / 0.5378 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.3878, allocations: 403.8 kB / 0.5382 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3879, allocations: 62.22 kB / 0.5382 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3881, allocations: 66.28 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.3883, allocations: 206.7 kB / 0.5385 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.3887, allocations: 343.5 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3897, allocations: 0.7834 MB / 0.5396 GB, free: 6.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3897, allocations: 0 / 0.5396 GB, free: 6.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3897, allocations: 3.938 kB / 0.5396 GB, free: 6.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3897, allocations: 0 / 0.5396 GB, free: 6.516 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.00251/0.3922, allocations: 1.179 MB / 0.5407 GB, free: 5.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3923, allocations: 13.83 kB / 0.5408 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.3924, allocations: 82.19 kB / 0.5408 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.3927, allocations: 110.8 kB / 0.5409 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.3937, allocations: 0.5951 MB / 0.5415 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.3938, allocations: 37.59 kB / 0.5416 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.3939, allocations: 55.31 kB / 0.5416 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3951, allocations: 0.6137 MB / 0.5422 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.3952, allocations: 5 kB / 0.5422 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.3952, allocations: 21.94 kB / 0.5422 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.3953, allocations: 11.47 kB / 0.5422 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.3964, allocations: 465.9 kB / 0.5427 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.4006, allocations: 2.651 MB / 0.5453 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.4018, allocations: 0.5458 MB / 0.5458 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.4024, allocations: 255.1 kB / 0.5461 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.4025, allocations: 8 kB / 0.5461 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.4026, allocations: 42.5 kB / 0.5461 GB, free: 1.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.4026, allocations: 0 / 0.5461 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002827/0.4054, allocations: 1.162 MB / 0.5472 GB, free: 388 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.4055, allocations: 166.2 kB / 0.5474 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4066, allocations: 0.6529 MB / 0.548 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.4067, allocations: 37.7 kB / 0.5481 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.407, allocations: 368.5 kB / 0.5484 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.4072, allocations: 178.5 kB / 0.5486 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.4074, allocations: 122.3 kB / 0.5487 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4076, allocations: 333.9 kB / 0.549 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.4082, allocations: 271.3 kB / 0.5493 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008095/0.409, allocations: 441.5 kB / 0.5497 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.4105, allocations: 0.6684 MB / 0.5504 GB, free: 12.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4105, allocations: 4 kB / 0.5504 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001745/0.4122, allocations: 0.802 MB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4123, allocations: 4 kB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4123, allocations: 4.531 kB / 0.5512 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.4123, allocations: 8 kB / 0.5512 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.413, allocations: 155.8 kB / 0.5513 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.413, allocations: 15.88 kB / 0.5513 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.4136, allocations: 79.67 kB / 0.5514 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.4136, allocations: 20 kB / 0.5514 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008465/0.4145, allocations: 417.2 kB / 0.5518 GB, free: 11.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007354/0.4153, allocations: 421.2 kB / 0.5522 GB, free: 10.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001279/0.4165, allocations: 0.657 MB / 0.5529 GB, free: 10.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-06/0.4166, allocations: 0 / 0.5529 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001632/0.4182, allocations: 0.7703 MB / 0.5536 GB, free: 9.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4182, allocations: 12.09 kB / 0.5536 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4182, allocations: 11.94 kB / 0.5536 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4183, allocations: 8 kB / 0.5536 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.4189, allocations: 139.8 kB / 0.5538 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.4189, allocations: 15.92 kB / 0.5538 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.4195, allocations: 83.62 kB / 0.5539 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.4195, allocations: 24 kB / 0.5539 GB, free: 9.207 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.0002471/0.4198, allocations: 216.1 kB / 0.5541 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.42, allocations: 75.53 kB / 0.5542 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.4202, allocations: 90.22 kB / 0.5543 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4202, allocations: 7.938 kB / 0.5543 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4202, allocations: 0 / 0.5543 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4202, allocations: 7.984 kB / 0.5543 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.4217, allocations: 0.8493 MB / 0.5551 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.4217, allocations: 11.88 kB / 0.5551 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.4223, allocations: 103.8 kB / 0.5552 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.4223, allocations: 4 kB / 0.5552 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.4224, allocations: 19.98 kB / 0.5552 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4224, allocations: 0 / 0.5552 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4224, allocations: 4 kB / 0.5552 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.4246, allocations: 1.137 MB / 0.5563 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.4249, allocations: 200.4 kB / 0.5565 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.896e-05/0.425, allocations: 15.98 kB / 0.5566 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.4255, allocations: 51.89 kB / 0.5566 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4256, allocations: 39.88 kB / 0.5566 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.4257, allocations: 12 kB / 0.5567 GB, free: 6.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007453/0.4264, allocations: 467 kB / 0.5571 GB, free: 5.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4264, allocations: 0 / 0.5571 GB, free: 5.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000826/0.4273, allocations: 192 kB / 0.5573 GB, free: 5.633 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.002543/0.4298, allocations: 1.687 MB / 0.5589 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.4322, allocations: 0.9599 MB / 0.5599 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4322, allocations: 0 / 0.5599 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.4329, allocations: 283.1 kB / 0.5601 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.4341, allocations: 197 kB / 0.5603 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.4455, allocations: 6.642 MB / 0.5668 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.4462, allocations: 0.9497 MB / 0.5677 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005692/0.4468, allocations: 160.7 kB / 0.5679 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.4472, allocations: 255.4 kB / 0.5681 GB, free: 10.21 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4473, allocations: 0 / 0.5681 GB, free: 10.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.5002, allocations: 14.56 MB / 0.5824 GB, free: 11.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.69, allocations: 8.062 kB / 0.5824 GB, free: 11.77 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)