Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 108.8 kB / 17.78 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 180.9 kB / 18.71 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.372, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005827/0.3779, allocations: 3.374 MB / 0.5217 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.3815, allocations: 1.549 MB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.382, allocations: 22.09 kB / 0.5233 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.3826, allocations: 142 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.3832, allocations: 192.3 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.3848, allocations: 0.5272 MB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3861, allocations: 0.9501 MB / 0.525 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.3866, allocations: 230.3 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.3872, allocations: 361 kB / 0.5256 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.3879, allocations: 412.6 kB / 0.526 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.388, allocations: 61.88 kB / 0.526 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.3884, allocations: 178.1 kB / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.3887, allocations: 200.7 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.3891, allocations: 344.3 kB / 0.5267 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.3903, allocations: 0.913 MB / 0.5276 GB, free: 13.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3904, allocations: 1.469 kB / 0.5276 GB, free: 13.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3904, allocations: 0 / 0.5276 GB, free: 13.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3904, allocations: 4 kB / 0.5276 GB, free: 13.34 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.002565/0.393, allocations: 1.196 MB / 0.5288 GB, free: 12.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.393, allocations: 9.344 kB / 0.5288 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.3931, allocations: 86.7 kB / 0.5289 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3933, allocations: 96.23 kB / 0.529 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3943, allocations: 0.5785 MB / 0.5295 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.3944, allocations: 45.98 kB / 0.5296 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.3945, allocations: 62.81 kB / 0.5297 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3957, allocations: 0.6101 MB / 0.5302 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3957, allocations: 5.062 kB / 0.5303 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.3958, allocations: 21.03 kB / 0.5303 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.3958, allocations: 11.81 kB / 0.5303 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.3969, allocations: 465.9 kB / 0.5307 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.4007, allocations: 2.644 MB / 0.5333 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.4017, allocations: 0.5007 MB / 0.5338 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.4023, allocations: 266 kB / 0.5341 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.4024, allocations: 8.812 kB / 0.5341 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.4025, allocations: 46.08 kB / 0.5341 GB, free: 8.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 4.288e-06/0.4025, allocations: 7.938 kB / 0.5341 GB, free: 8.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002758/0.4052, allocations: 1.16 MB / 0.5352 GB, free: 7.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4054, allocations: 146.4 kB / 0.5354 GB, free: 7.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.4063, allocations: 0.6534 MB / 0.536 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.32e-05/0.4064, allocations: 35.8 kB / 0.5361 GB, free: 7.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.4068, allocations: 358.7 kB / 0.5364 GB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.407, allocations: 191.4 kB / 0.5366 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.4073, allocations: 119.1 kB / 0.5367 GB, free: 6.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.4075, allocations: 332.5 kB / 0.537 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/0.4082, allocations: 288.5 kB / 0.5373 GB, free: 6.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000826/0.409, allocations: 437.7 kB / 0.5377 GB, free: 5.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.4105, allocations: 0.7158 MB / 0.5384 GB, free: 5.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4105, allocations: 1.125 kB / 0.5384 GB, free: 5.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001904/0.4124, allocations: 0.8259 MB / 0.5392 GB, free: 4.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4124, allocations: 7.469 kB / 0.5392 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4125, allocations: 4.125 kB / 0.5392 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.4125, allocations: 11.84 kB / 0.5392 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.4134, allocations: 198.8 kB / 0.5394 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4134, allocations: 12.22 kB / 0.5394 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.414, allocations: 81.39 kB / 0.5395 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.4141, allocations: 23 kB / 0.5395 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008708/0.415, allocations: 422.7 kB / 0.5399 GB, free: 4.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008052/0.4158, allocations: 430 kB / 0.5403 GB, free: 4.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001532/0.4173, allocations: 0.6875 MB / 0.541 GB, free: 3.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.86e-06/0.4174, allocations: 1.125 kB / 0.541 GB, free: 3.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.002038/0.4194, allocations: 0.8032 MB / 0.5418 GB, free: 3.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4194, allocations: 6.812 kB / 0.5418 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4195, allocations: 9.391 kB / 0.5418 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4195, allocations: 7.5 kB / 0.5418 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.4204, allocations: 189.7 kB / 0.542 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.4204, allocations: 23.8 kB / 0.542 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.421, allocations: 79.67 kB / 0.5421 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.421, allocations: 24 kB / 0.5421 GB, free: 3.207 MB / 398.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.0003645/0.4214, allocations: 220.1 kB / 0.5423 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.4216, allocations: 79.48 kB / 0.5424 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.4219, allocations: 90.91 kB / 0.5425 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.422, allocations: 7.938 kB / 0.5425 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.422, allocations: 0 / 0.5425 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.422, allocations: 7.984 kB / 0.5425 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.4242, allocations: 1.268 MB / 0.5438 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4242, allocations: 0 / 0.5438 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.4249, allocations: 111.8 kB / 0.5439 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4249, allocations: 3.938 kB / 0.5439 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.425, allocations: 24.05 kB / 0.5439 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.425, allocations: 7.984 kB / 0.5439 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.425, allocations: 0 / 0.5439 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.4274, allocations: 1.176 MB / 0.545 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.4277, allocations: 196.7 kB / 0.5452 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.4278, allocations: 19.98 kB / 0.5453 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.4283, allocations: 43.94 kB / 0.5453 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4284, allocations: 43.95 kB / 0.5453 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.4285, allocations: 15.98 kB / 0.5454 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007176/0.4292, allocations: 455 kB / 0.5458 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4292, allocations: 0 / 0.5458 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009657/0.4302, allocations: 223.9 kB / 0.546 GB, free: 15.12 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.002813/0.433, allocations: 1.749 MB / 0.5477 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.4354, allocations: 0.9859 MB / 0.5487 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4355, allocations: 0 / 0.5487 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006851/0.4361, allocations: 295.2 kB / 0.549 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4374, allocations: 193.3 kB / 0.5491 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.4489, allocations: 6.737 MB / 0.5557 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.4496, allocations: 0.9578 MB / 0.5566 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006098/0.4502, allocations: 148.9 kB / 0.5568 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.4507, allocations: 263.3 kB / 0.557 GB, free: 3.492 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4507, allocations: 0 / 0.557 GB, free: 3.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0454/0.4961, allocations: 15.65 MB / 0.5723 GB, free: 3.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.096/9.592, allocations: 10.58 kB / 0.5723 GB, free: 3.988 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)