Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",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.001791/0.001791, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002445/0.002446, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01513/0.01513, allocations: 1.924 MB / 271.7 MB, free: 3.332 MB / 222.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.002125/0.002126, allocations: 72.22 kB / 329.9 MB, free: 32.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1618, allocations: 47.13 MB / 377.1 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.005222/0.1671, allocations: 2.377 MB / 379.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1686, allocations: 0.5737 MB / 380 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1688, allocations: 0 / 380 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.1691, allocations: 35.66 kB / 380.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1693, allocations: 63.41 kB / 380.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1696, allocations: 51.88 kB / 380.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.17, allocations: 234.9 kB / 380.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.1703, allocations: 56.56 kB / 380.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1705, allocations: 87.59 kB / 380.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1707, allocations: 87.62 kB / 380.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.1707, allocations: 12 kB / 380.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.914e-05/0.1708, allocations: 16 kB / 380.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.1709, allocations: 35.84 kB / 380.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.171, allocations: 107.4 kB / 380.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.1714, allocations: 195.3 kB / 381 MB, free: 13.6 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.566e-05/0.1714, allocations: 4 kB / 381 MB, free: 13.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1714, allocations: 0 / 381 MB, free: 13.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.1714, allocations: 4 kB / 381 MB, free: 13.59 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001143/0.1726, allocations: 498.9 kB / 381.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/0.1727, allocations: 15.83 kB / 381.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.726e-05/0.1728, allocations: 54.73 kB / 381.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.1729, allocations: 20.66 kB / 381.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.1732, allocations: 227.9 kB / 381.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.1733, allocations: 16.7 kB / 381.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.1733, allocations: 19.94 kB / 381.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.1737, allocations: 144.2 kB / 382 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1737, allocations: 0 / 382 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.1738, allocations: 12 kB / 382 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.1738, allocations: 4 kB / 382 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1741, allocations: 116.1 kB / 382.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1752, allocations: 0.5428 MB / 382.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1754, allocations: 102.5 kB / 382.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1756, allocations: 52.78 kB / 382.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1756, allocations: 4 kB / 382.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1757, allocations: 42.48 kB / 382.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1757, allocations: 0 / 382.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001997/0.1777, allocations: 0.6192 MB / 383.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.1778, allocations: 55.41 kB / 383.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.178, allocations: 202.7 kB / 383.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1781, allocations: 33.7 kB / 383.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1782, allocations: 120.4 kB / 383.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1783, allocations: 63.08 kB / 383.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.1784, allocations: 37.72 kB / 384 MB, free: 10.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1785, allocations: 322.8 kB / 384.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1787, allocations: 47.97 kB / 384.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1788, allocations: 79.34 kB / 384.4 MB, free: 9.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.1791, allocations: 121.9 kB / 384.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1791, allocations: 4 kB / 384.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003356/0.1794, allocations: 173.4 kB / 384.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1795, allocations: 11 kB / 384.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1795, allocations: 0 / 384.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.1795, allocations: 7.938 kB / 384.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1797, allocations: 35.98 kB / 384.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.1797, allocations: 3.984 kB / 384.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.1799, allocations: 11.94 kB / 384.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1799, allocations: 4 kB / 384.8 MB, free: 9.535 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001693/0.1801, allocations: 133.8 kB / 384.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.1801, allocations: 23.72 kB / 384.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.1802, allocations: 29.8 kB / 384.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1802, allocations: 4 kB / 384.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.1802, allocations: 0 / 384.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1802, allocations: 0 / 384.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008849/0.1811, allocations: 0.5868 MB / 385.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1812, allocations: 0 / 385.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.1814, allocations: 47.91 kB / 385.6 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.1814, allocations: 4 kB / 385.6 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1814, allocations: 8 kB / 385.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1814, allocations: 8.25 kB / 385.6 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1814, allocations: 0 / 385.6 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.1821, allocations: 373.9 kB / 386 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1822, allocations: 112.9 kB / 386.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1823, allocations: 7.984 kB / 386.1 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1825, allocations: 12 kB / 386.1 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.1825, allocations: 19.92 kB / 386.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.1826, allocations: 15.98 kB / 386.1 MB, free: 8.012 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1827, allocations: 148.4 kB / 386.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1828, allocations: 0 / 386.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1831, allocations: 40 kB / 386.3 MB, free: 7.828 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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.001261/0.1843, allocations: 0.8945 MB / 387.2 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.1848, allocations: 146 kB / 387.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1848, allocations: 0 / 387.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.185, allocations: 72.5 kB / 387.4 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.1856, allocations: 32.86 kB / 387.5 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.1886, allocations: 2.211 MB / 389.7 MB, free: 4.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.1891, allocations: 0.7321 MB / 390.4 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.1893, allocations: 17.41 kB / 390.4 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.1894, allocations: 55.41 kB / 390.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1894, allocations: 0 / 390.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.2264, allocations: 3.438 MB / 393.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.7, allocations: 3.984 kB / 393.9 MB, free: 15.96 MB / 302.1 MB (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1)