Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01759/0.01759, allocations: 1.925 MB / 9.997 MB, free: 0.582 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.3 MB / 216.2 MB, free: 15.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.0008311/0.0008312, allocations: 85.66 kB / 264.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.208e-05/1.21e-05, allocations: 4 kB / 319 MB, free: 19.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.07668, allocations: 48.1 MB / 367.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2653/0.342, allocations: 76.98 MB / 444.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.3422, allocations: 71.06 kB / 444.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.3611, allocations: 7.336 MB / 451.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3611, allocations: 0 / 451.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.3612, allocations: 8 kB / 451.5 MB, free: 11.02 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009105/0.3621, allocations: 0.6149 MB / 452.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3621, allocations: 8.031 kB / 452.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.3622, allocations: 43.53 kB / 452.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3625, allocations: 293 kB / 452.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3626, allocations: 8 kB / 452.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.3626, allocations: 27.33 kB / 452.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000387/0.363, allocations: 218 kB / 452.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3635, allocations: 253 kB / 453 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3635, allocations: 0 / 453 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.3635, allocations: 0 / 453 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3635, allocations: 8 kB / 453 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.3651, allocations: 1.048 MB / 454 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3656, allocations: 244.8 kB / 454.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3658, allocations: 102.8 kB / 454.4 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.3658, allocations: 4 kB / 454.4 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.3661, allocations: 138.1 kB / 454.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.3661, allocations: 0 / 454.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005609/0.3667, allocations: 260 kB / 454.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3667, allocations: 59.34 kB / 454.8 MB, free: 8.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3669, allocations: 228 kB / 455 MB, free: 8.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3669, allocations: 29.69 kB / 455.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3671, allocations: 209.4 kB / 455.3 MB, free: 7.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.3671, allocations: 78.16 kB / 455.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.3672, allocations: 0 / 455.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3673, allocations: 342 kB / 455.7 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3674, allocations: 86.12 kB / 455.8 MB, free: 7.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3676, allocations: 124.2 kB / 455.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3678, allocations: 102.6 kB / 456 MB, free: 7.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3678, allocations: 4 kB / 456 MB, free: 7.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005382/0.3683, allocations: 326 kB / 456.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.3686, allocations: 0.6372 MB / 457 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3686, allocations: 4 kB / 457 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.3691, allocations: 121.3 kB / 457.1 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.3693, allocations: 47.91 kB / 457.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/0.37, allocations: 0.7087 MB / 457.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.3703, allocations: 35.7 kB / 457.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3703, allocations: 11.88 kB / 457.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/0.3703, allocations: 7.938 kB / 457.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006565/0.371, allocations: 293.2 kB / 458.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.371, allocations: 7.984 kB / 458.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.3714, allocations: 92.05 kB / 458.3 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.3716, allocations: 51.91 kB / 458.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.3734, allocations: 1.825 MB / 460.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.3736, allocations: 31.8 kB / 460.2 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3737, allocations: 10.88 kB / 460.2 MB, free: 3.387 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: standardPatient.valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.3738, allocations: 116.2 kB / 460.3 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3739, allocations: 31.86 kB / 460.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.3745, allocations: 315.1 kB / 460.6 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3745, allocations: 3.938 kB / 460.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.3745, allocations: 0 / 460.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3746, allocations: 7.984 kB / 460.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.3749, allocations: 336.5 kB / 461 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3749, allocations: 0 / 461 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.3751, allocations: 31.3 kB / 461 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.3756, allocations: 128.2 kB / 461.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3756, allocations: 0 / 461.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00056/0.3762, allocations: 0.7102 MB / 461.8 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3762, allocations: 3.938 kB / 461.8 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.377, allocations: 419.8 kB / 462.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3771, allocations: 132.8 kB / 462.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.3772, allocations: 4.016 kB / 462.4 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3774, allocations: 19.92 kB / 462.4 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.3774, allocations: 27.95 kB / 462.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3775, allocations: 4 kB / 462.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3776, allocations: 182 kB / 462.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.124e-06/0.3776, allocations: 0 / 462.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005587/0.3782, allocations: 179.4 kB / 462.8 MB, free: 1.008 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.3784, allocations: 115.2 kB / 462.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3794, allocations: 0.5874 MB / 463.5 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3794, allocations: 0 / 463.5 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.3797, allocations: 116.7 kB / 463.6 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.38, allocations: 24.88 kB / 463.6 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3811, allocations: 0.5793 MB / 464.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3814, allocations: 0.7999 MB / 465 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.3816, allocations: 42.03 kB / 465.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.3817, allocations: 15.44 kB / 465.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3817, allocations: 3.938 kB / 465.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of Templates: time 0.007569/0.3893, allocations: 4.188 MB / 469.3 MB, free: 10.45 MB / 346.7 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & ./MEV_MEV.Test.TestStandardPatient -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)