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.001484/0.001484, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001728/0.001728, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.452/1.452, allocations: 222.9 MB / 242.2 MB, free: 15.24 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.2132/0.2132, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 66.14 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1105, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005363/0.1159, allocations: 3.365 MB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.119, allocations: 1.544 MB / 474.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.1197, allocations: 23.88 kB / 474.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.1205, allocations: 146.7 kB / 474.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008866/0.1214, allocations: 190.5 kB / 474.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1229, allocations: 0.5289 MB / 475.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.1241, allocations: 0.9396 MB / 476.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.1247, allocations: 234.4 kB / 476.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000738/0.1254, allocations: 362.6 kB / 476.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008976/0.1263, allocations: 414.1 kB / 477.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002834/0.1266, allocations: 60 kB / 477.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005243/0.1272, allocations: 179.7 kB / 477.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.1275, allocations: 191.3 kB / 477.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.1281, allocations: 345.8 kB / 477.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1293, allocations: 0.876 MB / 478.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1293, allocations: 0 / 478.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1293, allocations: 0 / 478.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.1294, allocations: 0 / 478.7 MB, free: 4.891 MB / 350.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.003086/0.1325, allocations: 1.176 MB / 479.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1325, allocations: 12.03 kB / 479.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.1326, allocations: 86.7 kB / 480 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.1328, allocations: 87.91 kB / 480.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.1339, allocations: 0.5584 MB / 480.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.134, allocations: 37.38 kB / 480.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1341, allocations: 52.28 kB / 480.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.1353, allocations: 0.6175 MB / 481.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.1353, allocations: 3.938 kB / 481.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.1354, allocations: 24 kB / 481.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1354, allocations: 8 kB / 481.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.1365, allocations: 465.8 kB / 481.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.1409, allocations: 2.647 MB / 484.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1421, allocations: 0.5078 MB / 485 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.1427, allocations: 268.8 kB / 485.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.1428, allocations: 4.234 kB / 485.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.1428, allocations: 46.72 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 3.596e-06/0.1428, allocations: 4 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002797/0.1457, allocations: 1.137 MB / 486.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.1458, allocations: 136.5 kB / 486.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1469, allocations: 0.6529 MB / 487.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.1469, allocations: 37.7 kB / 487.2 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.1473, allocations: 356.8 kB / 487.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.1475, allocations: 181.4 kB / 487.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.1478, allocations: 118.2 kB / 487.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1479, allocations: 333.9 kB / 488.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.1487, allocations: 287.3 kB / 488.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008135/0.1495, allocations: 448.1 kB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.1511, allocations: 0.7092 MB / 489.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.1511, allocations: 4 kB / 489.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001751/0.1528, allocations: 0.8158 MB / 490.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.1529, allocations: 11.94 kB / 490.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1529, allocations: 4 kB / 490.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.1529, allocations: 12 kB / 490.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.1539, allocations: 196.2 kB / 490.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.154, allocations: 11.98 kB / 490.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/0.1546, allocations: 79.48 kB / 490.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.1546, allocations: 31.98 kB / 490.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009279/0.1556, allocations: 421.3 kB / 491.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007194/0.1563, allocations: 428.3 kB / 491.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001411/0.1577, allocations: 0.6959 MB / 492.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.1578, allocations: 8 kB / 492.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001732/0.1595, allocations: 0.7916 MB / 493.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1595, allocations: 10.66 kB / 493.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1595, allocations: 4 kB / 493.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1595, allocations: 8.531 kB / 493.2 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008811/0.1604, allocations: 195.7 kB / 493.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.1605, allocations: 11.94 kB / 493.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.1611, allocations: 83.47 kB / 493.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.1611, allocations: 24 kB / 493.5 MB, free: 5.508 MB / 366.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.0002296/0.1614, allocations: 212.1 kB / 493.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.1616, allocations: 75.06 kB / 493.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.1619, allocations: 98.89 kB / 493.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1619, allocations: 7.938 kB / 493.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.162, allocations: 3.938 kB / 493.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.162, allocations: 7.922 kB / 493.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.1644, allocations: 1.26 MB / 495.1 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1644, allocations: 0 / 495.1 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.1651, allocations: 103.9 kB / 495.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.1651, allocations: 11.98 kB / 495.2 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.1652, allocations: 16 kB / 495.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1652, allocations: 0 / 495.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1652, allocations: 4 kB / 495.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.1674, allocations: 1.168 MB / 496.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.1677, allocations: 196.2 kB / 496.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.1679, allocations: 15.98 kB / 496.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.1685, allocations: 51.95 kB / 496.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.1686, allocations: 35.94 kB / 496.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.1686, allocations: 16 kB / 496.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007591/0.1694, allocations: 459 kB / 497.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1694, allocations: 0 / 497.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009375/0.1703, allocations: 224 kB / 497.4 MB, free: 1.457 MB / 366.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.002833/0.1732, allocations: 1.749 MB / 499.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002625/0.1758, allocations: 1.04 MB / 0.4885 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1759, allocations: 0 / 0.4885 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.1766, allocations: 292.7 kB / 0.4887 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.1778, allocations: 197 kB / 0.4889 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.1907, allocations: 6.96 MB / 0.4957 GB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.1915, allocations: 0.95 MB / 0.4966 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000714/0.1922, allocations: 152.9 kB / 0.4968 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.1927, allocations: 263.3 kB / 0.497 GB, free: 5.523 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1927, allocations: 0 / 0.497 GB, free: 5.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2437/0.4365, allocations: 15.41 MB / 0.5121 GB, free: 47.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.49, allocations: 12.38 kB / 0.5121 GB, free: 47.73 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)