Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002084/0.002084, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002429/0.002429, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.4 MB / 247 MB, free: 10.42 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.2426/0.2426, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.00263/0.00263, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.359, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.006892/0.3659, allocations: 3.383 MB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.3712, allocations: 1.597 MB / 0.5355 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.3726, allocations: 23 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.3738, allocations: 148.7 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.3753, allocations: 186.3 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3777, allocations: 0.54 MB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.3802, allocations: 0.9431 MB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.3811, allocations: 235.9 kB / 0.5375 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.3823, allocations: 363.8 kB / 0.5378 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.3836, allocations: 418.4 kB / 0.5382 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004352/0.384, allocations: 62.41 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007932/0.3849, allocations: 188.7 kB / 0.5385 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000578/0.3854, allocations: 198.9 kB / 0.5387 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.3865, allocations: 344.4 kB / 0.539 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.3888, allocations: 0.9168 MB / 0.5399 GB, free: 6.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3888, allocations: 1.344 kB / 0.5399 GB, free: 6.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3888, allocations: 0 / 0.5399 GB, free: 6.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3888, allocations: 0 / 0.5399 GB, free: 6.277 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.003218/0.3921, allocations: 1.192 MB / 0.5411 GB, free: 5.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.3921, allocations: 14.8 kB / 0.5411 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.3923, allocations: 81.05 kB / 0.5412 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.3926, allocations: 110.8 kB / 0.5413 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.3939, allocations: 0.5964 MB / 0.5418 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.394, allocations: 36.44 kB / 0.5419 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3941, allocations: 50.88 kB / 0.5419 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.3955, allocations: 0.6178 MB / 0.5425 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.3956, allocations: 5.281 kB / 0.5425 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.3956, allocations: 21.75 kB / 0.5426 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.3957, allocations: 11.03 kB / 0.5426 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.3969, allocations: 465.9 kB / 0.543 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.4012, allocations: 2.645 MB / 0.5456 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4023, allocations: 0.5008 MB / 0.5461 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/0.403, allocations: 272.4 kB / 0.5463 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.403, allocations: 16.16 kB / 0.5464 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.4031, allocations: 42.73 kB / 0.5464 GB, free: 1.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.196e-06/0.4031, allocations: 4 kB / 0.5464 GB, free: 1.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002758/0.4058, allocations: 1.168 MB / 0.5475 GB, free: 20 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.406, allocations: 162.2 kB / 0.5477 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009652/0.407, allocations: 0.6607 MB / 0.5483 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.407, allocations: 37.7 kB / 0.5484 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.4073, allocations: 365.1 kB / 0.5487 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.4075, allocations: 186.4 kB / 0.5489 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.4077, allocations: 118.3 kB / 0.549 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4079, allocations: 333.9 kB / 0.5493 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.4086, allocations: 287.3 kB / 0.5496 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.4094, allocations: 453.2 kB / 0.55 GB, free: 13.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.4109, allocations: 0.7074 MB / 0.5507 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4109, allocations: 0 / 0.5507 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001835/0.4127, allocations: 0.8352 MB / 0.5515 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4127, allocations: 4 kB / 0.5515 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.4128, allocations: 8 kB / 0.5516 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4128, allocations: 4 kB / 0.5516 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/0.4137, allocations: 196.1 kB / 0.5517 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.4138, allocations: 15.94 kB / 0.5518 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.4144, allocations: 83.61 kB / 0.5518 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.4144, allocations: 24 kB / 0.5519 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008626/0.4153, allocations: 425.2 kB / 0.5523 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007423/0.4161, allocations: 429.3 kB / 0.5527 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001324/0.4174, allocations: 0.6921 MB / 0.5534 GB, free: 9.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.4174, allocations: 0 / 0.5534 GB, free: 9.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001713/0.4191, allocations: 0.8086 MB / 0.5541 GB, free: 8.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4192, allocations: 8 kB / 0.5542 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4192, allocations: 4 kB / 0.5542 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4192, allocations: 8.531 kB / 0.5542 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/0.42, allocations: 195.7 kB / 0.5544 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4201, allocations: 15.88 kB / 0.5544 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.4206, allocations: 83.61 kB / 0.5544 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.4207, allocations: 24 kB / 0.5545 GB, free: 8.574 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002523/0.4209, allocations: 220.1 kB / 0.5547 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.4211, allocations: 87.42 kB / 0.5548 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.4214, allocations: 90.89 kB / 0.5548 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4214, allocations: 7.938 kB / 0.5549 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.4214, allocations: 4 kB / 0.5549 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4214, allocations: 3.984 kB / 0.5549 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.4236, allocations: 1.252 MB / 0.5561 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.4236, allocations: 7.984 kB / 0.5561 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.4242, allocations: 99.88 kB / 0.5562 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.4242, allocations: 8.062 kB / 0.5562 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.4243, allocations: 15.98 kB / 0.5562 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4243, allocations: 4 kB / 0.5562 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.4243, allocations: 8 kB / 0.5562 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.4265, allocations: 1.177 MB / 0.5574 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.4268, allocations: 200.5 kB / 0.5576 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.4269, allocations: 12 kB / 0.5576 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.4274, allocations: 55.94 kB / 0.5576 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.4276, allocations: 35.94 kB / 0.5577 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.4276, allocations: 16 kB / 0.5577 GB, free: 5.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006899/0.4283, allocations: 459 kB / 0.5581 GB, free: 4.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4283, allocations: 0 / 0.5581 GB, free: 4.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009407/0.4293, allocations: 219.9 kB / 0.5583 GB, free: 4.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.002764/0.432, allocations: 1.755 MB / 0.56 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.4344, allocations: 0.9843 MB / 0.561 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4345, allocations: 0 / 0.561 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006995/0.4352, allocations: 304.5 kB / 0.5613 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4363, allocations: 185.1 kB / 0.5615 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4477, allocations: 6.784 MB / 0.5681 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.4483, allocations: 0.9501 MB / 0.569 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005728/0.4489, allocations: 148.8 kB / 0.5692 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.4493, allocations: 263.3 kB / 0.5694 GB, free: 8.828 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4493, allocations: 3.938 kB / 0.5694 GB, free: 8.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/0.4971, allocations: 15.58 MB / 0.5846 GB, free: 9.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.999/10.5, allocations: 8.047 kB / 0.5846 GB, free: 9.375 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput_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_InitialOutput.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)