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.004443/0.004442, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006604/0.006604, allocations: 1.932 MB / 17.78 MB, free: 4.168 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.325/1.325, allocations: 205.4 MB / 224.4 MB, free: 11.89 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.0008646/0.0008646, allocations: 94.11 kB / 273.3 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 11.98 kB / 331.8 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06926/0.06954, allocations: 48.09 MB / 379.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/0.2915, allocations: 76.29 MB / 456.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.2918, allocations: 71.97 kB / 456.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006237/0.298, allocations: 2.404 MB / 458.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2981, allocations: 0 / 458.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2981, allocations: 4 kB / 458.7 MB, free: 8.766 MB / 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.0004075/0.2985, allocations: 399.9 kB / 459.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2985, allocations: 12.03 kB / 459.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.2986, allocations: 15.81 kB / 459.1 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.2988, allocations: 199.4 kB / 459.3 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2988, allocations: 4 kB / 459.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.2988, allocations: 8 kB / 459.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.299, allocations: 93.55 kB / 459.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.299, allocations: 0 / 459.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.299, allocations: 4 kB / 459.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.299, allocations: 4 kB / 459.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2992, allocations: 55.97 kB / 459.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.2997, allocations: 394.7 kB / 459.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.3001, allocations: 66.53 kB / 459.9 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3001, allocations: 4.75 kB / 459.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3002, allocations: 34.64 kB / 460 MB, free: 7.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3002, allocations: 0 / 460 MB, free: 7.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002479/0.3004, allocations: 93.52 kB / 460.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3005, allocations: 59.36 kB / 460.1 MB, free: 7.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3006, allocations: 157.3 kB / 460.3 MB, free: 7.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3006, allocations: 25.7 kB / 460.3 MB, free: 6.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.3007, allocations: 107.9 kB / 460.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.3007, allocations: 23.69 kB / 460.4 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.3007, allocations: 0 / 460.4 MB, free: 6.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.3008, allocations: 322.8 kB / 460.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.3009, allocations: 23.81 kB / 460.8 MB, free: 6.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.3009, allocations: 20 kB / 460.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.301, allocations: 19.98 kB / 460.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.301, allocations: 0 / 460.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001557/0.3012, allocations: 93.52 kB / 460.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.3012, allocations: 95.81 kB / 461 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3012, allocations: 1.25 kB / 461 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3012, allocations: 7.953 kB / 461 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.3013, allocations: 8 kB / 461 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3013, allocations: 3.984 kB / 461 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.3014, allocations: 4 kB / 461 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3014, allocations: 4 kB / 461 MB, free: 6.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.3014, allocations: 4 kB / 461 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001054/0.3015, allocations: 52.8 kB / 461.1 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-06/0.3016, allocations: 4 kB / 461.1 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-06/0.3016, allocations: 0 / 461.1 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.3016, allocations: 11.98 kB / 461.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.3016, allocations: 0.875 kB / 461.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.3017, allocations: 11.84 kB / 461.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3017, allocations: 4 kB / 461.1 MB, free: 6.152 MB / 330.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.065e-05/0.3018, allocations: 201.1 kB / 461.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3018, allocations: 7.906 kB / 461.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.302, allocations: 86.53 kB / 461.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.302, allocations: 0 / 461.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.302, allocations: 0 / 461.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.302, allocations: 0 / 461.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.3024, allocations: 359.5 kB / 461.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3024, allocations: 4 kB / 461.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.3025, allocations: 15.92 kB / 461.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3025, allocations: 0 / 461.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3025, allocations: 0 / 461.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3025, allocations: 4 kB / 461.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3025, allocations: 3.984 kB / 461.8 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3027, allocations: 190 kB / 461.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.3027, allocations: 96.91 kB / 462 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3028, allocations: 4.766 kB / 462 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.3029, allocations: 0 / 462 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.3029, allocations: 15.94 kB / 462.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3029, allocations: 336 / 462.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.426e-05/0.303, allocations: 147.1 kB / 462.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.303, allocations: 0 / 462.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.3033, allocations: 39.94 kB / 462.2 MB, free: 4.875 MB / 330.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.0001065/0.3034, allocations: 103.2 kB / 462.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3036, allocations: 75.91 kB / 462.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3036, allocations: 0 / 462.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.3037, allocations: 19.98 kB / 462.4 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3039, allocations: 8 kB / 462.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.3043, allocations: 308.6 kB / 462.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3046, allocations: 0.712 MB / 463.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.354e-05/0.3046, allocations: 8.422 kB / 463.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.3046, allocations: 11.44 kB / 463.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3046, allocations: 0 / 463.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of Templates: time 0.002741/0.3074, allocations: 0.9057 MB / 464.4 MB, free: 2.672 MB / 330.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)