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.00156/0.00156, allocations: 109 kB / 16.41 MB, free: 6.492 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.00174/0.00174, allocations: 189.5 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.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008877/0.008877, allocations: 1.932 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.001497/0.001497, allocations: 69.59 kB / 378.9 MB, free: 52.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06859/0.0701, allocations: 47.14 MB / 426 MB, free: 20.11 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003167/0.0733, allocations: 3.439 MB / 429.5 MB, free: 16.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.07466, allocations: 0.928 MB / 430.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.07481, allocations: 8 kB / 430.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.07495, allocations: 59.34 kB / 430.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.0752, allocations: 146.7 kB / 430.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.07557, allocations: 155.7 kB / 430.8 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.07596, allocations: 0.5678 MB / 431.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.07617, allocations: 156.4 kB / 431.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.07635, allocations: 203.2 kB / 431.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.07655, allocations: 215.1 kB / 431.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.07661, allocations: 48 kB / 431.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.07674, allocations: 67.97 kB / 432 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.0768, allocations: 99.62 kB / 432.1 MB, free: 14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.07695, allocations: 239 kB / 432.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.07732, allocations: 0.5101 MB / 432.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.07734, allocations: 0 / 432.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.07734, allocations: 0 / 432.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.07736, allocations: 0 / 432.8 MB, free: 13.26 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.001095/0.07846, allocations: 0.7439 MB / 433.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.0785, allocations: 8.031 kB / 433.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.07858, allocations: 44.47 kB / 433.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.07885, allocations: 315.3 kB / 433.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.07887, allocations: 21.03 kB / 434 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.07893, allocations: 36.38 kB / 434 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.07946, allocations: 318.3 kB / 434.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.07949, allocations: 0 / 434.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.07952, allocations: 12 kB / 434.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.07954, allocations: 8 kB / 434.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.08004, allocations: 254.5 kB / 434.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.08156, allocations: 1.13 MB / 435.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.0822, allocations: 274.8 kB / 436 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.08244, allocations: 128.8 kB / 436.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.08248, allocations: 0 / 436.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.08284, allocations: 167.2 kB / 436.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.08286, allocations: 0 / 436.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002557/0.08542, allocations: 0.6978 MB / 437 MB, free: 8.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.08546, allocations: 59.34 kB / 437 MB, free: 8.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.08576, allocations: 357.5 kB / 437.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.08579, allocations: 37.64 kB / 437.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.08589, allocations: 192.2 kB / 437.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.08595, allocations: 86.8 kB / 437.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.08604, allocations: 65.69 kB / 437.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.0861, allocations: 346.8 kB / 438.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.08633, allocations: 108.8 kB / 438.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.08657, allocations: 157.7 kB / 438.3 MB, free: 7.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.08701, allocations: 283.5 kB / 438.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.08702, allocations: 8 kB / 438.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006702/0.0877, allocations: 423.5 kB / 439 MB, free: 6.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.08774, allocations: 29.7 kB / 439.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.08775, allocations: 4 kB / 439.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.08938, allocations: 232.8 kB / 439.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.08958, allocations: 51.91 kB / 439.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005118/0.0901, allocations: 0.6849 MB / 440 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.09041, allocations: 43.77 kB / 440.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.09045, allocations: 12 kB / 440.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002916/0.09075, allocations: 212.1 kB / 440.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002125/0.09097, allocations: 146.6 kB / 440.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003885/0.09136, allocations: 271.8 kB / 440.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.09138, allocations: 4 kB / 440.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.00087/0.09225, allocations: 439.3 kB / 441.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.09229, allocations: 37.89 kB / 441.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0923, allocations: 3.938 kB / 441.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.09268, allocations: 96.77 kB / 441.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.09288, allocations: 47.92 kB / 441.3 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.09474, allocations: 2.1 MB / 443.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.09506, allocations: 31.77 kB / 443.5 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.09509, allocations: 12 kB / 443.5 MB, free: 2.047 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 0.0001085/0.0952, allocations: 200.3 kB / 443.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.09525, allocations: 39.52 kB / 443.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/0.09621, allocations: 404.7 kB / 444.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.09623, allocations: 7.938 kB / 444.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.09624, allocations: 3.984 kB / 444.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.09625, allocations: 0 / 444.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.09656, allocations: 397.2 kB / 444.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.09657, allocations: 0 / 444.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.09674, allocations: 27.92 kB / 444.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009925/0.09774, allocations: 184.7 kB / 444.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.09778, allocations: 15.94 kB / 444.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004256/0.09821, allocations: 0.6929 MB / 445.4 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.09822, allocations: 0 / 445.4 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.09949, allocations: 0.517 MB / 445.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.09969, allocations: 152.7 kB / 446.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.09975, allocations: 8 kB / 446.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.09997, allocations: 7.984 kB / 446.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.1001, allocations: 27.97 kB / 446.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1001, allocations: 8 kB / 446.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.1004, allocations: 251.2 kB / 446.4 MB, free: 15 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1004, allocations: 0 / 446.4 MB, free: 15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005806/0.101, allocations: 175.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.0001617/0.1011, allocations: 103.2 kB / 446.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.1027, allocations: 0.6885 MB / 447.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1027, allocations: 0 / 447.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.1031, allocations: 144.7 kB / 447.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1034, allocations: 49.23 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.001467/0.1049, allocations: 0.86 MB / 448.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1053, allocations: 0.7915 MB / 449.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.1054, allocations: 19.44 kB / 449.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1054, allocations: 0 / 449.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Templates: time 0.007482/0.1128, allocations: 5.468 MB / 454.7 MB, free: 6.594 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)