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/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.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.001469/0.001469, allocations: 174.8 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.01308/0.01308, 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.296/1.296, allocations: 205.2 MB / 221.4 MB, free: 7.227 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.0008006/0.0008006, allocations: 85.62 kB / 270.1 MB, free: 7.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.425e-05, allocations: 3.984 kB / 326 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 48.07 MB / 374.1 MB, free: 44.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07154/0.2706, allocations: 76.21 MB / 450.3 MB, free: 2.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.2708, allocations: 67.97 kB / 450.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00611/0.2769, allocations: 2.403 MB / 452.8 MB, free: 224 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2769, allocations: 0 / 452.8 MB, free: 224 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2769, allocations: 4 kB / 452.8 MB, free: 220 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.0003786/0.2773, allocations: 391.1 kB / 453.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2774, allocations: 8.031 kB / 453.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.2774, allocations: 11.91 kB / 453.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.2776, allocations: 203.1 kB / 453.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.2776, allocations: 4 kB / 453.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2776, allocations: 8 kB / 453.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2778, allocations: 78.2 kB / 453.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2778, allocations: 0 / 453.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2778, allocations: 19.48 kB / 453.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2778, allocations: 0 / 453.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.2779, allocations: 47.91 kB / 453.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.2785, allocations: 384.4 kB / 453.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.2788, allocations: 61.59 kB / 453.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.2788, allocations: 16.94 kB / 454 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2789, allocations: 7.984 kB / 454 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2789, allocations: 30.56 kB / 454 MB, free: 14.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2789, allocations: 0 / 454 MB, free: 14.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000154/0.2791, allocations: 65.7 kB / 454.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.2791, allocations: 51.41 kB / 454.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2792, allocations: 162 kB / 454.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2793, allocations: 25.7 kB / 454.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.2793, allocations: 112 kB / 454.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.2793, allocations: 19.78 kB / 454.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.2793, allocations: 0 / 454.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.2794, allocations: 327.4 kB / 454.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.2795, allocations: 16 kB / 454.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.2795, allocations: 8 kB / 454.8 MB, free: 14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.2796, allocations: 12 kB / 454.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2796, allocations: 4 kB / 454.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001046/0.2797, allocations: 73.59 kB / 454.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.2797, allocations: 93 kB / 454.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2797, allocations: 4.141 kB / 455 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2798, allocations: 4 kB / 455 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.2798, allocations: 15.98 kB / 455 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2799, allocations: 0 / 455 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.2799, allocations: 15.84 kB / 455 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.28, allocations: 7.938 kB / 455 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.28, allocations: 7.938 kB / 455 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.686e-05/0.28, allocations: 35.98 kB / 455 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-06/0.28, allocations: 0 / 455 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-06/0.2801, allocations: 0 / 455 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.2801, allocations: 8 kB / 455 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-06/0.2801, allocations: 0 / 455 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.2802, allocations: 7.984 kB / 455.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2802, allocations: 4 kB / 455.1 MB, free: 13.7 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.322e-05/0.2803, allocations: 115.5 kB / 455.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.2803, allocations: 11.81 kB / 455.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.2804, allocations: 75.17 kB / 455.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2804, allocations: 0 / 455.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2804, allocations: 0 / 455.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2805, allocations: 0 / 455.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.2808, allocations: 343.3 kB / 455.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2808, allocations: 4.031 kB / 455.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.2808, allocations: 11.98 kB / 455.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2808, allocations: 0 / 455.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2809, allocations: 0 / 455.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2809, allocations: 4 kB / 455.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2809, allocations: 0 / 455.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.281, allocations: 185.8 kB / 455.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.2811, allocations: 92.94 kB / 455.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.2811, allocations: 8 kB / 455.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.2812, allocations: 0 / 455.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.2812, allocations: 11.94 kB / 455.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2813, allocations: 4.062 kB / 455.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.2814, allocations: 131.2 kB / 456 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2814, allocations: 0 / 456 MB, free: 12.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.2816, allocations: 44 kB / 456.1 MB, free: 12.56 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 0.0001062/0.2818, allocations: 107.2 kB / 456.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.2819, allocations: 52.72 kB / 456.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2819, allocations: 0 / 456.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.2819, allocations: 12 kB / 456.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2821, allocations: 17.97 kB / 456.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.2824, allocations: 143.4 kB / 456.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2826, allocations: 0.7088 MB / 457.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.2827, allocations: 16.36 kB / 457.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.2827, allocations: 12.38 kB / 457.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2828, allocations: 4 kB / 457.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Templates: time 0.002892/0.2857, allocations: 1.053 MB / 458.2 MB, free: 10.4 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)