Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008374/0.0008375, allocations: 175.7 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006389/0.006389, allocations: 1.928 MB / 18.79 MB, free: 3.016 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.505/1.505, allocations: 205.4 MB / 225.5 MB, free: 5.402 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.0007698/0.0007698, allocations: 92.27 kB / 274.3 MB, free: 5.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 16 kB / 333.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.185, allocations: 48.07 MB / 381.1 MB, free: 44.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07874/0.2638, allocations: 76.32 MB / 457.5 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.264, allocations: 71.97 kB / 457.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006441/0.2704, allocations: 2.421 MB / 459.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2705, allocations: 0 / 459.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2705, allocations: 4 kB / 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.0004443/0.2709, allocations: 403.4 kB / 460.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.271, allocations: 8.031 kB / 460.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.271, allocations: 12.75 kB / 460.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.2712, allocations: 212.3 kB / 460.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2713, allocations: 12.38 kB / 460.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2713, allocations: 8.375 kB / 460.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.2715, allocations: 89.78 kB / 460.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2715, allocations: 0 / 460.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2715, allocations: 4 kB / 460.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2715, allocations: 0 / 460.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2717, allocations: 61.69 kB / 460.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.2722, allocations: 392.5 kB / 461.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.2727, allocations: 70.47 kB / 461.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.2727, allocations: 28.94 kB / 461.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2728, allocations: 0 / 461.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2728, allocations: 30.56 kB / 461.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2728, allocations: 0 / 461.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002615/0.2731, allocations: 101.5 kB / 461.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2731, allocations: 55.41 kB / 461.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2733, allocations: 171.5 kB / 461.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2733, allocations: 29.7 kB / 461.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.2734, allocations: 111.9 kB / 461.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.2734, allocations: 11.83 kB / 461.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.2734, allocations: 4 kB / 461.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2735, allocations: 322.8 kB / 462 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.2736, allocations: 20 kB / 462.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.2736, allocations: 19.98 kB / 462.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.2737, allocations: 44.84 kB / 462.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2738, allocations: 0 / 462.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001793/0.2739, allocations: 93.42 kB / 462.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.274, allocations: 101.1 kB / 462.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.274, allocations: 7.938 kB / 462.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.274, allocations: 0 / 462.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.2741, allocations: 11.98 kB / 462.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2741, allocations: 4 kB / 462.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.2742, allocations: 4 kB / 462.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2742, allocations: 0 / 462.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.2742, allocations: 4 kB / 462.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001166/0.2743, allocations: 51.98 kB / 462.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.2744, allocations: 0 / 462.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.2744, allocations: 3.984 kB / 462.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.2744, allocations: 8 kB / 462.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2744, allocations: 11.88 kB / 462.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.2745, allocations: 11.84 kB / 462.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.2745, allocations: 0 / 462.4 MB, free: 12.13 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 0.0001053/0.2746, allocations: 201.1 kB / 462.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.2747, allocations: 7.906 kB / 462.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.2748, allocations: 82.78 kB / 462.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2748, allocations: 3.938 kB / 462.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2749, allocations: 0 / 462.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2749, allocations: 3.984 kB / 462.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.2752, allocations: 359.3 kB / 463.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2753, allocations: 3.938 kB / 463.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.2753, allocations: 11.98 kB / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2753, allocations: 0 / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2753, allocations: 4 kB / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2753, allocations: 0 / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2754, allocations: 3.938 kB / 463.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.2755, allocations: 176.3 kB / 463.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.2756, allocations: 100.9 kB / 463.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2756, allocations: 0 / 463.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.2757, allocations: 7.938 kB / 463.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.2758, allocations: 8.047 kB / 463.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2758, allocations: 4 kB / 463.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.2759, allocations: 135.2 kB / 463.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2759, allocations: 3.938 kB / 463.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002974/0.2762, allocations: 51.84 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.0001239/0.2763, allocations: 95.23 kB / 463.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.2765, allocations: 75.91 kB / 463.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.2765, allocations: 0 / 463.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.2766, allocations: 23.92 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.0002887/0.2769, allocations: 19.88 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.0004469/0.2774, 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.0002503/0.2776, allocations: 0.7081 MB / 464.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.2777, allocations: 8.438 kB / 464.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2777, allocations: 11.44 kB / 464.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2777, allocations: 0 / 464.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of Templates: time 0.002905/0.2806, allocations: 0.921 MB / 465.7 MB, free: 8.656 MB / 346.7 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & ./MEV_MEV.Test.TestPatientValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1)