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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 104.1 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009121/0.009121, allocations: 1.97 MB / 283.6 MB, free: 5.07 MB / 222.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") [Timeout 660] "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.002161/0.002161, allocations: 75.28 kB / 397 MB, free: 50.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.078/0.08016, allocations: 49.66 MB / 446.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003254/0.08342, allocations: 3.455 MB / 450.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.08467, allocations: 0.9356 MB / 451.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.08481, allocations: 4 kB / 451.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.08493, allocations: 59.34 kB / 451.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.0852, allocations: 158.7 kB / 451.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.08553, allocations: 159.7 kB / 451.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.08592, allocations: 0.56 MB / 452 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.08609, allocations: 104.5 kB / 452.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.08625, allocations: 203.2 kB / 452.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.08643, allocations: 219.1 kB / 452.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.08648, allocations: 44 kB / 452.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.08659, allocations: 75.97 kB / 452.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.08665, allocations: 99.62 kB / 452.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.08678, allocations: 231 kB / 453 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.08717, allocations: 0.5176 MB / 453.5 MB, free: 460 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.08717, allocations: 0 / 453.5 MB, free: 460 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.08717, allocations: 0 / 453.5 MB, free: 460 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.08718, allocations: 4 kB / 453.5 MB, free: 456 kB / 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.001256/0.08844, allocations: 0.7435 MB / 454.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.08847, allocations: 8.031 kB / 454.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/0.08857, allocations: 52.66 kB / 454.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.08896, allocations: 319.5 kB / 454.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.089, allocations: 21.03 kB / 454.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.08906, allocations: 36.36 kB / 454.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.08973, allocations: 318.3 kB / 455 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.08974, allocations: 0 / 455 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.08978, allocations: 12 kB / 455 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.08979, allocations: 11.94 kB / 455 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.09042, allocations: 262.5 kB / 455.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.09241, allocations: 1.127 MB / 456.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.09317, allocations: 262.8 kB / 456.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.09345, allocations: 112.7 kB / 456.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.09348, allocations: 4 kB / 456.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.09386, allocations: 167.2 kB / 456.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.09386, allocations: 0 / 456.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002914/0.09678, allocations: 0.6919 MB / 457.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.09683, allocations: 59.41 kB / 457.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.09725, allocations: 353.6 kB / 458 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.09728, allocations: 37.64 kB / 458 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.09744, allocations: 200.5 kB / 458.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.09753, allocations: 95.2 kB / 458.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.09766, allocations: 65.64 kB / 458.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.09784, allocations: 346.8 kB / 458.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.09812, allocations: 104.8 kB / 458.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.09842, allocations: 154 kB / 459 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.09898, allocations: 287.5 kB / 459.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.09899, allocations: 8 kB / 459.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008559/0.09984, allocations: 411.9 kB / 459.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.09989, allocations: 33.7 kB / 459.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.09989, allocations: 0 / 459.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.1016, allocations: 236.7 kB / 459.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1018, allocations: 47.91 kB / 460 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000797/0.1026, allocations: 0.6967 MB / 460.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.1029, allocations: 35.77 kB / 460.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.103, allocations: 8 kB / 460.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003789/0.1033, allocations: 220.1 kB / 460.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002999/0.1036, allocations: 158.4 kB / 461.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005072/0.1041, allocations: 267.8 kB / 461.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.1041, allocations: 0 / 461.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001058/0.1052, allocations: 443.7 kB / 461.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.1052, allocations: 33.7 kB / 461.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1052, allocations: 3.938 kB / 461.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.1057, allocations: 104.7 kB / 461.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.1059, allocations: 47.92 kB / 462 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.1086, allocations: 2.092 MB / 464.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.1089, allocations: 39.77 kB / 464.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1089, allocations: 8 kB / 464.1 MB, free: 5.23 MB / 334.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.0001812/0.1091, allocations: 197.1 kB / 464.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.1092, allocations: 39.75 kB / 464.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1103, allocations: 392.7 kB / 464.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1103, allocations: 7.938 kB / 464.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1103, allocations: 0 / 464.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1103, allocations: 0 / 464.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.1108, allocations: 393.3 kB / 465.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1108, allocations: 4 kB / 465.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1109, allocations: 31.92 kB / 465.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.112, allocations: 184.7 kB / 465.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.112, allocations: 11.94 kB / 465.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007295/0.1128, allocations: 0.6968 MB / 466 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1128, allocations: 0 / 466 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1141, allocations: 0.521 MB / 466.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1143, allocations: 148.8 kB / 466.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.1143, allocations: 11.98 kB / 466.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1145, allocations: 12.17 kB / 466.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.1146, allocations: 23.97 kB / 466.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1146, allocations: 7.938 kB / 466.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.1149, allocations: 251.2 kB / 467 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1149, allocations: 0 / 467 MB, free: 2.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005948/0.1155, allocations: 175.8 kB / 467.2 MB, free: 2.027 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.0001817/0.1157, allocations: 99.25 kB / 467.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.1173, allocations: 0.673 MB / 468 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1173, allocations: 0 / 468 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.1177, allocations: 123.9 kB / 468.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.118, allocations: 53.72 kB / 468.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.1197, allocations: 0.8486 MB / 469 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.1201, allocations: 0.7954 MB / 469.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.1202, allocations: 22.97 kB / 469.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.1203, allocations: 27.44 kB / 469.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1203, allocations: 0 / 469.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Templates: time 0.01131/0.1316, allocations: 5.498 MB / 475.3 MB, free: 9.777 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.639505769126117]