Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 115.6 kB / 16.37 MB, free: 5.539 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.00164/0.00164, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.186/1.186, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007743/0.007742, allocations: 1.935 MB / 272.5 MB, free: 10.08 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.001369/0.001369, allocations: 67.91 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1667, allocations: 47.11 MB / 378.4 MB, free: 53.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002361/0.1691, allocations: 1.963 MB / 380.4 MB, free: 52.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.1698, allocations: 0.566 MB / 380.9 MB, free: 52.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.1698, allocations: 4.312 kB / 380.9 MB, free: 52.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.1699, allocations: 16.38 kB / 381 MB, free: 52.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.17, allocations: 44.19 kB / 381 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1702, allocations: 32.66 kB / 381 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1703, allocations: 139.8 kB / 381.2 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1704, allocations: 39.11 kB / 381.2 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.1705, allocations: 51.69 kB / 381.3 MB, free: 52.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.1706, allocations: 50.8 kB / 381.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1706, allocations: 8.719 kB / 381.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.477e-05/0.1707, allocations: 20.02 kB / 381.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.1707, allocations: 19.23 kB / 381.4 MB, free: 52.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1708, allocations: 59.7 kB / 381.4 MB, free: 52.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1709, allocations: 110.3 kB / 381.5 MB, free: 52.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1709, allocations: 1.219 kB / 381.5 MB, free: 52.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1709, allocations: 0 / 381.5 MB, free: 52.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1709, allocations: 0 / 381.5 MB, free: 52.2 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004227/0.1713, allocations: 423.9 kB / 381.9 MB, free: 51.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.1714, allocations: 14.81 kB / 381.9 MB, free: 51.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1714, allocations: 14.38 kB / 382 MB, free: 51.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1716, allocations: 200.5 kB / 382.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1716, allocations: 8.094 kB / 382.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1716, allocations: 12.95 kB / 382.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1718, allocations: 93.7 kB / 382.3 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1718, allocations: 0 / 382.3 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1718, allocations: 1.312 kB / 382.3 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1718, allocations: 2.125 kB / 382.3 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.172, allocations: 56.08 kB / 382.3 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1724, allocations: 385.3 kB / 382.7 MB, free: 51.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.1728, allocations: 73 kB / 382.8 MB, free: 51.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1729, allocations: 18.72 kB / 382.8 MB, free: 51.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1729, allocations: 6.484 kB / 382.8 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.1729, allocations: 35.3 kB / 382.8 MB, free: 51.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1729, allocations: 5.688 kB / 382.8 MB, free: 51.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002247/0.1732, allocations: 87.86 kB / 382.9 MB, free: 51.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.1732, allocations: 51.41 kB / 383 MB, free: 51.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1733, allocations: 186.1 kB / 383.2 MB, free: 50.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.1733, allocations: 25.7 kB / 383.2 MB, free: 50.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1734, allocations: 112.5 kB / 383.3 MB, free: 50.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.1734, allocations: 13.42 kB / 383.3 MB, free: 50.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1734, allocations: 21.16 kB / 383.3 MB, free: 50.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.1735, allocations: 323.9 kB / 383.6 MB, free: 50.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.1735, allocations: 24.92 kB / 383.7 MB, free: 50.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.1736, allocations: 22.23 kB / 383.7 MB, free: 50.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.1737, allocations: 53.19 kB / 383.7 MB, free: 50.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1737, allocations: 1.031 kB / 383.7 MB, free: 50.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001448/0.1738, allocations: 87.66 kB / 383.8 MB, free: 50.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.1739, allocations: 7 kB / 383.8 MB, free: 50.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1739, allocations: 3.938 kB / 383.8 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1739, allocations: 1.125 kB / 383.8 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.174, allocations: 11.58 kB / 383.9 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.174, allocations: 0.9688 kB / 383.9 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.1741, allocations: 19.78 kB / 383.9 MB, free: 50.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1741, allocations: 1.219 kB / 383.9 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.801e-05/0.1741, allocations: 106.9 kB / 384 MB, free: 50.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.713e-05/0.1742, allocations: 18.5 kB / 384 MB, free: 50.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.26e-05/0.1743, allocations: 38.98 kB / 384 MB, free: 50.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.1743, allocations: 1.938 kB / 384 MB, free: 50.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001227/0.1744, allocations: 75.42 kB / 384.1 MB, free: 50.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.1744, allocations: 10.19 kB / 384.1 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-06/0.1744, allocations: 0.9688 kB / 384.1 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.1744, allocations: 5.156 kB / 384.1 MB, free: 50.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.1745, allocations: 12.34 kB / 384.1 MB, free: 50.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-06/0.1745, allocations: 1.312 kB / 384.1 MB, free: 50.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1745, allocations: 3.547 kB / 384.1 MB, free: 50.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.1746, allocations: 0.9375 kB / 384.1 MB, free: 50.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 3.704e-05/0.1746, allocations: 184.1 kB / 384.3 MB, free: 50.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.1746, allocations: 14.95 kB / 384.3 MB, free: 50.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1748, allocations: 87.7 kB / 384.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1748, allocations: 1.375 kB / 384.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1748, allocations: 1.312 kB / 384.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1748, allocations: 0.75 kB / 384.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.1751, allocations: 350.5 kB / 384.8 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1751, allocations: 0 / 384.8 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.1752, allocations: 9.797 kB / 384.8 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1752, allocations: 5.25 kB / 384.8 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1752, allocations: 2.641 kB / 384.8 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1752, allocations: 1.031 kB / 384.8 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1752, allocations: 2.25 kB / 384.8 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1753, allocations: 184.8 kB / 385 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.1754, allocations: 94.81 kB / 385.1 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1754, allocations: 5.875 kB / 385.1 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.1755, allocations: 3.031 kB / 385.1 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.1755, allocations: 4.016 kB / 385.1 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1755, allocations: 2.031 kB / 385.1 MB, free: 49.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.366e-05/0.1756, allocations: 141.7 kB / 385.2 MB, free: 49.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1756, allocations: 2.438 kB / 385.2 MB, free: 49.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1759, allocations: 41.53 kB / 385.3 MB, free: 49.35 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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 6.77e-05/0.176, allocations: 92.61 kB / 385.3 MB, free: 49.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1762, allocations: 73.42 kB / 385.4 MB, free: 49.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1762, allocations: 0 / 385.4 MB, free: 49.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.1763, allocations: 21.44 kB / 385.4 MB, free: 49.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1765, allocations: 17.77 kB / 385.5 MB, free: 49.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.1769, allocations: 276 kB / 385.7 MB, free: 49.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.177, allocations: 0.7004 MB / 386.4 MB, free: 48.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.092e-05/0.1771, allocations: 13.62 kB / 386.4 MB, free: 48.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.1771, allocations: 12.25 kB / 386.5 MB, free: 48.33 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1771, allocations: 4 kB / 386.5 MB, free: 48.32 MB / 318.1 MB Notification: Performance of Templates: time 0.00307/0.1802, allocations: 1.013 MB / 387.5 MB, free: 48.27 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)