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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 170.9 kB / 16.11 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01124/0.01124, allocations: 1.924 MB / 18.79 MB, free: 2.891 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 225.5 MB, free: 5.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006984/0.0006983, allocations: 86.3 kB / 274.3 MB, free: 5.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 8 kB / 333.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 48.08 MB / 381.1 MB, free: 44.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07632/0.2603, allocations: 76.32 MB / 457.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.2605, allocations: 75.97 kB / 457.5 MB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006165/0.2667, allocations: 2.417 MB / 459.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.2667, allocations: 3.984 kB / 459.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.2667, allocations: 0 / 459.9 MB, free: 14.84 MB / 346.7 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.0004115/0.2671, allocations: 408.2 kB / 460.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2672, allocations: 8.031 kB / 460.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.2672, allocations: 16.75 kB / 460.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.2674, allocations: 213.1 kB / 460.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2674, allocations: 384 / 460.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2675, allocations: 12.38 kB / 460.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2677, allocations: 89.78 kB / 460.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2677, allocations: 0 / 460.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2677, allocations: 0 / 460.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2677, allocations: 8 kB / 460.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2679, allocations: 55.97 kB / 460.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.2684, allocations: 392.5 kB / 461.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.2688, allocations: 74.47 kB / 461.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.2689, allocations: 24.94 kB / 461.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.2689, allocations: 0 / 461.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2689, allocations: 34.56 kB / 461.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.2689, allocations: 7.984 kB / 461.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002447/0.2692, allocations: 93.52 kB / 461.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.2692, allocations: 55.34 kB / 461.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2694, allocations: 175.6 kB / 461.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2694, allocations: 29.64 kB / 461.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.2695, allocations: 107.9 kB / 461.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.2695, allocations: 19.84 kB / 461.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.2695, allocations: 0 / 461.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.2696, allocations: 318.8 kB / 462 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.2696, allocations: 19.98 kB / 462.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.45e-05/0.2697, allocations: 16 kB / 462.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2698, allocations: 56.83 kB / 462.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2698, allocations: 0 / 462.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001522/0.27, allocations: 81.69 kB / 462.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.27, allocations: 105.9 kB / 462.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.27, allocations: 4 kB / 462.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.27, allocations: 0 / 462.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.2701, allocations: 19.98 kB / 462.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2701, allocations: 0 / 462.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.2702, allocations: 8 kB / 462.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2702, allocations: 0 / 462.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.2702, allocations: 7.984 kB / 462.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001092/0.2704, allocations: 43.98 kB / 462.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.2704, allocations: 0 / 462.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-06/0.2704, allocations: 0 / 462.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.2704, allocations: 19.94 kB / 462.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.2704, allocations: 3.938 kB / 462.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.2705, allocations: 15.83 kB / 462.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.2705, allocations: 0 / 462.4 MB, free: 12.12 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.62e-05/0.2706, allocations: 193.1 kB / 462.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.2707, allocations: 11.91 kB / 462.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.2708, allocations: 82.59 kB / 462.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2708, allocations: 3.938 kB / 462.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2709, allocations: 0 / 462.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2709, allocations: 4 kB / 462.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.2712, allocations: 351.3 kB / 463.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2712, allocations: 3.938 kB / 463.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.2713, allocations: 12.03 kB / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2713, allocations: 4 kB / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2713, allocations: 0 / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2713, allocations: 0 / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2713, allocations: 3.938 kB / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.2715, allocations: 180.3 kB / 463.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.2716, allocations: 96.94 kB / 463.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.2716, allocations: 3.984 kB / 463.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.2717, allocations: 4.062 kB / 463.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.2717, allocations: 7.938 kB / 463.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.2718, allocations: 4 kB / 463.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2719, allocations: 139.2 kB / 463.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.744e-06/0.2719, allocations: 0 / 463.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.2722, allocations: 51.78 kB / 463.6 MB, free: 10.87 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001066/0.2723, allocations: 99.19 kB / 463.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.2725, allocations: 71.95 kB / 463.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2725, allocations: 0 / 463.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.2726, allocations: 24.27 kB / 463.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.2729, allocations: 19.98 kB / 463.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.2733, allocations: 300 kB / 464.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2736, allocations: 0.7042 MB / 464.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.2736, allocations: 12.5 kB / 464.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.2736, allocations: 11.44 kB / 464.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2737, allocations: 4 kB / 464.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of Templates: time 0.002847/0.2765, allocations: 0.9176 MB / 465.7 MB, free: 8.66 MB / 346.7 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 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)