Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_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.001411/0.001411, allocations: 102.1 kB / 16.27 MB, free: 5.93 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.001724/0.001724, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2437/0.2437, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 72.17 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003799/0.1242, allocations: 3.397 MB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1266, allocations: 1.583 MB / 445.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.1269, allocations: 27.81 kB / 445.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.1274, allocations: 138.8 kB / 445.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.1278, allocations: 198.5 kB / 445.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.1287, allocations: 0.5185 MB / 446.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006419/0.1294, allocations: 0.9511 MB / 447.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.1298, allocations: 238.4 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.1302, allocations: 366.5 kB / 448 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.1307, allocations: 418 kB / 448.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1308, allocations: 64 kB / 448.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.1311, allocations: 179.7 kB / 448.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1313, allocations: 187.3 kB / 448.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.1316, allocations: 349.8 kB / 449.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008521/0.1324, allocations: 0.8798 MB / 450.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1324, allocations: 3.938 kB / 450.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1324, allocations: 0 / 450.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1325, allocations: 0 / 450.1 MB, free: 13.29 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002292/0.1348, allocations: 1.168 MB / 451.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1348, allocations: 11.89 kB / 451.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.1349, allocations: 90.64 kB / 451.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.1351, allocations: 87.91 kB / 451.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/0.136, allocations: 0.5739 MB / 452 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.136, allocations: 37.38 kB / 452 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1361, allocations: 52.28 kB / 452.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1372, allocations: 0.6175 MB / 452.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.1372, allocations: 3.938 kB / 452.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.1373, allocations: 16 kB / 452.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1373, allocations: 12 kB / 452.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1383, allocations: 465.8 kB / 453.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.1418, allocations: 2.647 MB / 455.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1428, allocations: 0.5015 MB / 456.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.1434, allocations: 270.9 kB / 456.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.1435, allocations: 12.16 kB / 456.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1435, allocations: 46.8 kB / 456.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.984e-06/0.1435, allocations: 0 / 456.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.002471/0.146, allocations: 1.144 MB / 457.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.1461, allocations: 140.5 kB / 457.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008258/0.1469, allocations: 0.6568 MB / 458.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.147, allocations: 37.7 kB / 458.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.1473, allocations: 364.6 kB / 459 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.1475, allocations: 177.5 kB / 459.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.1477, allocations: 118.2 kB / 459.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1478, allocations: 333.9 kB / 459.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.1484, allocations: 287.3 kB / 459.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/0.1492, allocations: 440.3 kB / 460.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.1505, allocations: 0.7134 MB / 461 MB, free: 1.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1505, allocations: 0 / 461 MB, free: 1.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00164/0.1522, allocations: 0.8352 MB / 461.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1522, allocations: 4 kB / 461.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.1522, allocations: 8 kB / 461.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1523, allocations: 8 kB / 461.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.1531, allocations: 192.2 kB / 462.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.1532, allocations: 15.92 kB / 462.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.1537, allocations: 91.41 kB / 462.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.1537, allocations: 24 kB / 462.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007691/0.1545, allocations: 421.3 kB / 462.6 MB, free: 248 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007051/0.1552, allocations: 424.5 kB / 463 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001242/0.1565, allocations: 0.6806 MB / 463.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.1565, allocations: 8 kB / 463.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001517/0.158, allocations: 0.7965 MB / 464.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.158, allocations: 8 kB / 464.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1581, allocations: 4.531 kB / 464.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.1581, allocations: 8 kB / 464.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.1589, allocations: 199.7 kB / 464.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.1589, allocations: 15.92 kB / 464.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.1594, allocations: 75.45 kB / 464.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.1595, allocations: 28 kB / 464.8 MB, free: 13.88 MB / 350.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.0002422/0.1597, allocations: 228.8 kB / 465.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1599, allocations: 79.05 kB / 465.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.1601, allocations: 90.98 kB / 465.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1601, allocations: 7.938 kB / 465.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.1601, allocations: 0 / 465.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1601, allocations: 3.984 kB / 465.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.1622, allocations: 1.264 MB / 466.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1622, allocations: 0 / 466.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.1628, allocations: 111.9 kB / 466.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1628, allocations: 0 / 466.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.1629, allocations: 16 kB / 466.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.1629, allocations: 7.984 kB / 466.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1629, allocations: 0 / 466.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.1651, allocations: 1.173 MB / 467.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.1654, allocations: 200.1 kB / 468 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.1655, allocations: 23.92 kB / 468 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.166, allocations: 47.94 kB / 468.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.1661, allocations: 43.89 kB / 468.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.1662, allocations: 16.08 kB / 468.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007367/0.1669, allocations: 463 kB / 468.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1669, allocations: 0 / 468.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009853/0.1679, allocations: 220 kB / 468.8 MB, free: 9.805 MB / 350.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.002527/0.1705, allocations: 1.737 MB / 470.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.1728, allocations: 1.02 MB / 471.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1728, allocations: 1.125 kB / 471.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.1734, allocations: 303.7 kB / 471.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.1746, allocations: 193.4 kB / 472 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.185, allocations: 6.992 MB / 479 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.1857, allocations: 0.954 MB / 480 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005818/0.1863, allocations: 144.9 kB / 480.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.1867, allocations: 263.3 kB / 480.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1867, allocations: 0 / 480.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/0.2271, allocations: 15.51 MB / 495.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.329, allocations: 7.938 kB / 495.9 MB, free: 14.36 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)