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/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/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.000907/0.000907, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00687/0.00687, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.2 MB / 221.4 MB, free: 7.281 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.0007745/0.0007746, allocations: 94.48 kB / 270.1 MB, free: 7.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.971e-05, allocations: 4 kB / 326 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 48.06 MB / 374.1 MB, free: 44.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07136/0.2661, allocations: 76.2 MB / 450.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.2664, allocations: 70.72 kB / 450.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006257/0.2726, allocations: 2.409 MB / 452.8 MB, free: 208 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2726, allocations: 0 / 452.8 MB, free: 208 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.2727, allocations: 0.75 kB / 452.8 MB, free: 208 kB / 330.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.0003434/0.273, allocations: 395.1 kB / 453.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2731, allocations: 16.02 kB / 453.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2731, allocations: 7.906 kB / 453.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2733, allocations: 195.2 kB / 453.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2733, allocations: 8 kB / 453.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.2733, allocations: 8 kB / 453.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2735, allocations: 81.62 kB / 453.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2735, allocations: 5.125 kB / 453.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2735, allocations: 4 kB / 453.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2735, allocations: 7.984 kB / 453.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.2736, allocations: 43.91 kB / 453.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.2741, allocations: 388.4 kB / 453.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.2745, allocations: 63.69 kB / 453.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.2745, allocations: 16.86 kB / 454 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.2746, allocations: 0 / 454 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2746, allocations: 30.56 kB / 454 MB, free: 14.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2746, allocations: 0 / 454 MB, free: 14.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001521/0.2747, allocations: 65.8 kB / 454.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.2748, allocations: 55.41 kB / 454.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2749, allocations: 163 kB / 454.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.2749, allocations: 25.7 kB / 454.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.275, allocations: 116 kB / 454.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.275, allocations: 7.812 kB / 454.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.275, allocations: 1.641 kB / 454.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.2751, allocations: 327.4 kB / 454.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.2752, allocations: 12 kB / 454.8 MB, free: 14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.2752, allocations: 15.94 kB / 454.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.2752, allocations: 16 kB / 454.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2752, allocations: 0 / 454.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000108/0.2753, allocations: 69.59 kB / 454.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.2754, allocations: 103.3 kB / 455 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2754, allocations: 3.953 kB / 455 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2754, allocations: 0 / 455 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.2755, allocations: 12 kB / 455 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2755, allocations: 0 / 455 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.2756, allocations: 19.83 kB / 455 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.2756, allocations: 0 / 455 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.2756, allocations: 4 kB / 455 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.54e-05/0.2757, allocations: 39.88 kB / 455 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.2757, allocations: 0 / 455 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-06/0.2757, allocations: 256 / 455 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.2758, allocations: 15.98 kB / 455 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.2758, allocations: 4 kB / 455.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.2759, allocations: 4 kB / 455.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.2759, allocations: 4 kB / 455.1 MB, free: 13.68 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 () * 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 5.241e-05/0.2759, allocations: 108.9 kB / 455.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.276, allocations: 15.81 kB / 455.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.2761, allocations: 71.41 kB / 455.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2761, allocations: 0 / 455.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2761, allocations: 0 / 455.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2761, allocations: 7.984 kB / 455.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.2764, allocations: 343.3 kB / 455.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2764, allocations: 0 / 455.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.2765, allocations: 8 kB / 455.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2765, allocations: 4 kB / 455.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2765, allocations: 1.312 kB / 455.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2765, allocations: 0 / 455.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2765, allocations: 0 / 455.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2767, allocations: 193.8 kB / 455.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.2767, allocations: 93.14 kB / 455.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2768, allocations: 3.984 kB / 455.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.2769, allocations: 7.984 kB / 455.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.2769, allocations: 3.953 kB / 455.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.2769, allocations: 4 kB / 455.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.856e-05/0.277, allocations: 131.2 kB / 456 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.277, allocations: 4 kB / 456 MB, free: 12.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.2773, allocations: 47.98 kB / 456.1 MB, free: 12.54 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 () * 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 9.891e-05/0.2774, allocations: 95.19 kB / 456.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2775, allocations: 59.23 kB / 456.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2775, allocations: 0 / 456.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/0.2776, allocations: 16 kB / 456.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.2777, allocations: 8 kB / 456.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.278, allocations: 147.1 kB / 456.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.2782, allocations: 0.7049 MB / 457.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.011e-05/0.2783, allocations: 16.38 kB / 457.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.2783, allocations: 15.44 kB / 457.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2783, allocations: 0 / 457.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Templates: time 0.002893/0.2812, allocations: 1.055 MB / 458.2 MB, free: 10.39 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)