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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.000987, allocations: 103.6 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009409/0.000941, allocations: 189.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007769/0.007769, allocations: 1.943 MB / 272.5 MB, free: 10.07 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.64 kB / 378.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05738/0.05875, allocations: 47.13 MB / 426 MB, free: 20.11 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.002898/0.06167, allocations: 3.439 MB / 429.5 MB, free: 16.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.06288, allocations: 0.9356 MB / 430.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.06307, allocations: 8 kB / 430.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.06319, allocations: 55.41 kB / 430.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.06346, allocations: 154.7 kB / 430.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.06379, allocations: 155.7 kB / 430.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.06418, allocations: 0.56 MB / 431.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.06436, allocations: 144.4 kB / 431.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.06454, allocations: 215.2 kB / 431.7 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.06474, allocations: 215.1 kB / 431.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.0648, allocations: 51.94 kB / 431.9 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.06491, allocations: 63.98 kB / 432 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.06497, allocations: 99.67 kB / 432.1 MB, free: 14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.06511, allocations: 231 kB / 432.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.06542, allocations: 0.5101 MB / 432.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.06544, allocations: 0 / 432.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06544, allocations: 0 / 432.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.06546, allocations: 7.938 kB / 432.8 MB, free: 13.25 MB / 318.1 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.001016/0.06648, allocations: 0.74 MB / 433.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.06651, allocations: 8.031 kB / 433.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.06659, allocations: 48.47 kB / 433.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.06683, allocations: 307.3 kB / 433.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.06685, allocations: 25.03 kB / 434 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.06691, allocations: 36.38 kB / 434 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.06739, allocations: 314.3 kB / 434.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.06741, allocations: 0 / 434.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.06744, allocations: 16 kB / 434.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.06745, allocations: 8 kB / 434.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.06791, allocations: 258.4 kB / 434.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.06928, allocations: 1.134 MB / 435.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.06986, allocations: 274.9 kB / 436 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.07008, allocations: 120.8 kB / 436.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.07012, allocations: 4 kB / 436.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.07041, allocations: 171.2 kB / 436.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.07042, allocations: 0 / 436.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002334/0.07276, allocations: 0.6939 MB / 437 MB, free: 8.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.07279, allocations: 59.34 kB / 437 MB, free: 8.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.07304, allocations: 353.5 kB / 437.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.07307, allocations: 37.64 kB / 437.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.07315, allocations: 204.2 kB / 437.6 MB, free: 8.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.07319, allocations: 82.81 kB / 437.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.07328, allocations: 61.7 kB / 437.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.07333, allocations: 346.7 kB / 438.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.07354, allocations: 100.8 kB / 438.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.07377, allocations: 161.7 kB / 438.3 MB, free: 7.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.07418, allocations: 287.5 kB / 438.6 MB, free: 7.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.07419, allocations: 4 kB / 438.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006059/0.0748, allocations: 419.7 kB / 439 MB, free: 6.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.07483, allocations: 29.7 kB / 439.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.07484, allocations: 7.984 kB / 439.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.07633, allocations: 236.6 kB / 439.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.07651, allocations: 43.92 kB / 439.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004445/0.07696, allocations: 0.6927 MB / 440 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.07721, allocations: 39.7 kB / 440.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.07724, allocations: 12 kB / 440.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002466/0.07749, allocations: 208.1 kB / 440.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001924/0.07769, allocations: 150.6 kB / 440.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003563/0.07806, allocations: 275.8 kB / 440.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.07807, allocations: 0 / 440.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0007943/0.07887, allocations: 439.5 kB / 441.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.07889, allocations: 37.7 kB / 441.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.0789, allocations: 3.938 kB / 441.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.07924, allocations: 100.7 kB / 441.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.07942, allocations: 47.97 kB / 441.3 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.08099, allocations: 2.107 MB / 443.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.08123, allocations: 23.83 kB / 443.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.08125, allocations: 16 kB / 443.5 MB, free: 2.039 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.08133, allocations: 196.2 kB / 443.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.08137, allocations: 39.47 kB / 443.7 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008491/0.08222, allocations: 408.7 kB / 444.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.08224, allocations: 7.984 kB / 444.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.08224, allocations: 0 / 444.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.08225, allocations: 3.984 kB / 444.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.0825, allocations: 389.2 kB / 444.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.08251, allocations: 4 kB / 444.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.08266, allocations: 27.98 kB / 444.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008974/0.08357, allocations: 184.7 kB / 444.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.0836, allocations: 11.94 kB / 444.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003671/0.08397, allocations: 0.7007 MB / 445.4 MB, free: 0 / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08398, allocations: 0 / 445.4 MB, free: 0 / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.08513, allocations: 0.5131 MB / 445.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.08529, allocations: 148.7 kB / 446.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.08533, allocations: 4 kB / 446.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.08553, allocations: 15.98 kB / 446.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.0856, allocations: 19.97 kB / 446.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.08562, allocations: 15.98 kB / 446.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.08585, allocations: 247.2 kB / 446.4 MB, free: 15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08586, allocations: 0 / 446.4 MB, free: 15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004852/0.08635, allocations: 179.6 kB / 446.5 MB, free: 14.83 MB / 334.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001094/0.08646, allocations: 107.2 kB / 446.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.08777, allocations: 0.681 MB / 447.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.08778, allocations: 0 / 447.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.08813, allocations: 135.9 kB / 447.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.08842, allocations: 61.77 kB / 447.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.08967, allocations: 0.856 MB / 448.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.09, allocations: 0.7954 MB / 449.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.09006, allocations: 19.44 kB / 449.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09007, allocations: 0 / 449.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Templates: time 0.006545/0.09662, allocations: 5.515 MB / 454.7 MB, free: 6.543 MB / 334.1 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)