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.0009517/0.0009517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001005/0.001005, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.164/1.164, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007463/0.007463, allocations: 1.932 MB / 271.4 MB, free: 3.484 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.001272/0.001272, allocations: 63.91 kB / 329.3 MB, free: 33.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.08047, allocations: 47.15 MB / 376.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.005407/0.08591, allocations: 4.288 MB / 380.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.08796, allocations: 1.053 MB / 381.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.08839, allocations: 12 kB / 381.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.0886, allocations: 43.66 kB / 381.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.089, allocations: 130.9 kB / 382 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.08945, allocations: 131.8 kB / 382.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.08999, allocations: 0.5602 MB / 382.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.09022, allocations: 136.5 kB / 382.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.09042, allocations: 195.3 kB / 383 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.09065, allocations: 223 kB / 383.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.09072, allocations: 48 kB / 383.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.09085, allocations: 75.98 kB / 383.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.09093, allocations: 103.6 kB / 383.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.09113, allocations: 234.9 kB / 383.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.09157, allocations: 0.5024 MB / 384.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.09159, allocations: 0 / 384.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09159, allocations: 0 / 384.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.09161, allocations: 0 / 384.2 MB, free: 10.23 MB / 286.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.001244/0.09286, allocations: 0.7361 MB / 384.9 MB, free: 9.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.09289, allocations: 12.03 kB / 384.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.09298, allocations: 44.38 kB / 385 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.09331, allocations: 307.4 kB / 385.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.09334, allocations: 25.03 kB / 385.3 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.09341, allocations: 32.38 kB / 385.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.09399, allocations: 326.3 kB / 385.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.09402, allocations: 11.91 kB / 385.7 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.09405, allocations: 12 kB / 385.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.09406, allocations: 4 kB / 385.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.09457, allocations: 258.5 kB / 385.9 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.09629, allocations: 1.138 MB / 387.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.09694, allocations: 274.9 kB / 387.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.09717, allocations: 124.8 kB / 387.5 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.09722, allocations: 7.984 kB / 387.5 MB, free: 6.777 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.09755, allocations: 164.2 kB / 387.6 MB, free: 6.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.09756, allocations: 0 / 387.6 MB, free: 6.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002584/0.1002, allocations: 0.7059 MB / 388.3 MB, free: 5.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1002, allocations: 59.41 kB / 388.4 MB, free: 5.801 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.1005, allocations: 353.6 kB / 388.7 MB, free: 5.445 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1006, allocations: 29.7 kB / 388.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1007, allocations: 200.2 kB / 389 MB, free: 5.207 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.1008, allocations: 82.8 kB / 389 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.1009, allocations: 65.61 kB / 389.1 MB, free: 5.055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.101, allocations: 350.7 kB / 389.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.1013, allocations: 104.8 kB / 389.5 MB, free: 4.598 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.1015, allocations: 165.4 kB / 389.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.102, allocations: 287.5 kB / 390 MB, free: 4.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.102, allocations: 0 / 390 MB, free: 4.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007142/0.1027, allocations: 415.6 kB / 390.4 MB, free: 3.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.1028, allocations: 37.7 kB / 390.4 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1028, allocations: 3.938 kB / 390.4 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.1046, allocations: 240.8 kB / 390.7 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1047, allocations: 35.98 kB / 390.7 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/0.1054, allocations: 0.6966 MB / 391.4 MB, free: 2.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.1057, allocations: 43.64 kB / 391.4 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.1057, allocations: 12 kB / 391.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002928/0.106, allocations: 208.1 kB / 391.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002383/0.1063, allocations: 146 kB / 391.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004481/0.1068, allocations: 275.8 kB / 392.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.1068, allocations: 0 / 392.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009764/0.1077, allocations: 435.4 kB / 392.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.1078, allocations: 33.88 kB / 392.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1078, allocations: 11.94 kB / 392.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.1082, allocations: 104.7 kB / 392.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1084, allocations: 51.91 kB / 392.7 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.1106, allocations: 2.1 MB / 394.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1108, allocations: 31.77 kB / 394.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1109, allocations: 12 kB / 394.8 MB, free: 14.99 MB / 302.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.0001344/0.111, allocations: 196.2 kB / 395 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.111, allocations: 35.53 kB / 395.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1121, allocations: 396.7 kB / 395.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1121, allocations: 4 kB / 395.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.1121, allocations: 0 / 395.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1121, allocations: 3.984 kB / 395.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.1125, allocations: 397 kB / 395.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1125, allocations: 4 kB / 395.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1126, allocations: 27.98 kB / 395.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009688/0.1136, allocations: 184.7 kB / 396.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1137, allocations: 7.938 kB / 396.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005397/0.1142, allocations: 0.7046 MB / 396.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1142, allocations: 0 / 396.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1154, allocations: 0.5089 MB / 397.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.1155, allocations: 152.8 kB / 397.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.1156, allocations: 8 kB / 397.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.1158, allocations: 19.92 kB / 397.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.1159, allocations: 19.97 kB / 397.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1159, allocations: 7.984 kB / 397.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.1161, allocations: 255.1 kB / 397.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1161, allocations: 0 / 397.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.1166, allocations: 179.7 kB / 397.9 MB, free: 11.79 MB / 302.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.0001374/0.1168, allocations: 107.2 kB / 398 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.1181, allocations: 0.6809 MB / 398.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1181, allocations: 4 kB / 398.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.1185, allocations: 140.4 kB / 398.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1188, allocations: 61.41 kB / 398.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1202, allocations: 0.9833 MB / 399.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1205, allocations: 0.7915 MB / 400.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1207, allocations: 30.95 kB / 400.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1207, allocations: 19.44 kB / 400.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1207, allocations: 0 / 400.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of Templates: time 0.008567/0.1293, allocations: 5.282 MB / 406 MB, free: 3.598 MB / 302.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)