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.00117/0.00117, allocations: 111.5 kB / 16.41 MB, free: 6.488 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.001133/0.001133, allocations: 187.9 kB / 17.35 MB, free: 5.742 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.165/1.165, 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.008117/0.008118, allocations: 1.939 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.001389/0.001389, allocations: 68.66 kB / 378.9 MB, free: 51.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05768/0.05908, allocations: 47.12 MB / 426 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.002908/0.06201, allocations: 3.446 MB / 429.5 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.06321, allocations: 0.9356 MB / 430.4 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.0634, allocations: 4 kB / 430.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.06351, allocations: 55.41 kB / 430.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.06379, allocations: 154.7 kB / 430.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.06413, allocations: 151.7 kB / 430.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.06453, allocations: 0.56 MB / 431.3 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.06471, allocations: 148.4 kB / 431.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.0649, allocations: 207.2 kB / 431.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.06513, allocations: 223 kB / 431.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.06519, allocations: 48 kB / 431.9 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.06531, allocations: 63.98 kB / 432 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.06537, allocations: 95.69 kB / 432.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.06551, allocations: 242.9 kB / 432.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.06584, allocations: 0.5024 MB / 432.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.06585, allocations: 0 / 432.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.06586, allocations: 4 kB / 432.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.06587, allocations: 0 / 432.8 MB, free: 13.12 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.00102/0.0669, allocations: 0.7452 MB / 433.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.06693, allocations: 8.031 kB / 433.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.06701, allocations: 48.47 kB / 433.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.06725, allocations: 311.3 kB / 434 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.06727, allocations: 25.03 kB / 434 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.06733, allocations: 32.38 kB / 434 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.06781, allocations: 314.3 kB / 434.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.06783, allocations: 4 kB / 434.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.06786, allocations: 12 kB / 434.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.06788, allocations: 15.94 kB / 434.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.06833, allocations: 254.5 kB / 434.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.06972, allocations: 1.122 MB / 435.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.07032, allocations: 278.8 kB / 436 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.07053, allocations: 120.8 kB / 436.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.07057, allocations: 4 kB / 436.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.07086, allocations: 175.2 kB / 436.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.07087, allocations: 0 / 436.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.00239/0.07327, allocations: 0.6899 MB / 437 MB, free: 8.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.07329, allocations: 59.41 kB / 437 MB, free: 8.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.07355, allocations: 361.5 kB / 437.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.07358, allocations: 33.7 kB / 437.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.07366, allocations: 196.2 kB / 437.6 MB, free: 8.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.07371, allocations: 86.75 kB / 437.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.0738, allocations: 61.69 kB / 437.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.07385, allocations: 346.8 kB / 438.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.07407, allocations: 104.8 kB / 438.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.07429, allocations: 157.7 kB / 438.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.07469, allocations: 287.5 kB / 438.6 MB, free: 7.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.0747, allocations: 4 kB / 438.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000609/0.07531, allocations: 419.5 kB / 439 MB, free: 6.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.07534, allocations: 34.62 kB / 439.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.07536, allocations: 4 kB / 439.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.07697, allocations: 232.8 kB / 439.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.07716, allocations: 43.91 kB / 439.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004489/0.07762, allocations: 0.6927 MB / 440 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.07789, allocations: 39.7 kB / 440.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.07792, allocations: 12 kB / 440.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002629/0.07819, allocations: 212.2 kB / 440.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001978/0.0784, allocations: 154.5 kB / 440.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003609/0.07876, allocations: 271.8 kB / 440.7 MB, free: 4.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.07877, allocations: 0 / 440.7 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008152/0.07959, allocations: 439.3 kB / 441.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.07962, allocations: 33.7 kB / 441.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-06/0.07963, allocations: 0 / 441.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.07997, allocations: 108.8 kB / 441.3 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.08016, allocations: 47.97 kB / 441.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.08173, allocations: 2.107 MB / 443.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.08198, allocations: 23.83 kB / 443.5 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.08201, allocations: 19.98 kB / 443.5 MB, free: 1.898 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 7.474e-05/0.08209, allocations: 196.2 kB / 443.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.08214, allocations: 35.53 kB / 443.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008799/0.08302, allocations: 416.7 kB / 444.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.08304, allocations: 3.938 kB / 444.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.08305, allocations: 0 / 444.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.08315, allocations: 152.6 kB / 444.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.08321, allocations: 8 kB / 444.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.08342, allocations: 7.984 kB / 444.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.08349, allocations: 23.97 kB / 444.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001017/0.08452, allocations: 481.3 kB / 444.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006653/0.08519, allocations: 0.5884 MB / 445.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002211/0.08543, allocations: 112.6 kB / 445.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.08566, allocations: 247.2 kB / 445.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Backend: time 2.81e-07/0.08567, allocations: 0 / 445.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.08711, allocations: 0.6914 MB / 446.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of SimCode: time 0.001228/0.08835, allocations: 1.341 MB / 447.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Templates: time 0.009779/0.09814, allocations: 6.285 MB / 454 MB, free: 7.176 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)