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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 78.17 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.285/1.285, allocations: 158.6 MB / 184.8 MB, free: 6.191 MB / 174.1 MB " [Timeout remaining time 179] 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.007889/0.007889, allocations: 1.432 MB / 238.4 MB, free: 1.695 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 71.89 kB / 353.4 MB, free: 19.22 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07282/0.07504, allocations: 49.68 MB / 403.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.004454/0.0795, allocations: 3.125 MB / 406.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.08101, allocations: 0.9083 MB / 407.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.08113, allocations: 4 kB / 407.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.08125, allocations: 67.34 kB / 407.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.08157, allocations: 154.7 kB / 407.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.08194, allocations: 151.8 kB / 407.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.08257, allocations: 0.5638 MB / 408 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.08278, allocations: 100.9 kB / 408.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.08304, allocations: 203.3 kB / 408.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.08333, allocations: 195.1 kB / 408.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/0.0834, allocations: 48 kB / 408.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.08355, allocations: 67.98 kB / 408.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/0.08365, allocations: 99.61 kB / 408.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.08387, allocations: 191.2 kB / 408.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.08445, allocations: 0.5176 MB / 409.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.08445, allocations: 0 / 409.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08445, allocations: 0 / 409.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.08446, allocations: 4 kB / 409.4 MB, free: 10.96 MB / 334.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.001374/0.08583, allocations: 0.6761 MB / 410.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.08586, allocations: 11.98 kB / 410.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.604e-05/0.08596, allocations: 48.66 kB / 410.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.08633, allocations: 253.2 kB / 410.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.08637, allocations: 29.03 kB / 410.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.08643, allocations: 32.38 kB / 410.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.08707, allocations: 314.3 kB / 410.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.08709, allocations: 4 kB / 410.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.08712, allocations: 16 kB / 410.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.08713, allocations: 8 kB / 410.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006253/0.08776, allocations: 258.4 kB / 411.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.08962, allocations: 0.929 MB / 412 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007685/0.09038, allocations: 254.8 kB / 412.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.09065, allocations: 112.8 kB / 412.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.09068, allocations: 4 kB / 412.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.09108, allocations: 168.1 kB / 412.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.09108, allocations: 0 / 412.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002888/0.09397, allocations: 0.6187 MB / 413.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.09403, allocations: 63.41 kB / 413.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.0944, allocations: 284.5 kB / 413.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.09446, allocations: 33.7 kB / 413.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.09461, allocations: 208.4 kB / 413.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.0947, allocations: 95.2 kB / 413.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.09481, allocations: 61.66 kB / 413.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.09497, allocations: 346.7 kB / 414.2 MB, free: 6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.09526, allocations: 130.5 kB / 414.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.09559, allocations: 183.4 kB / 414.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.09616, allocations: 295.5 kB / 414.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09616, allocations: 0 / 414.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008566/0.09702, allocations: 441.5 kB / 415.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.09706, allocations: 37.69 kB / 415.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.09706, allocations: 0 / 415.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.09886, allocations: 236.8 kB / 415.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.09907, allocations: 43.92 kB / 415.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/0.09986, allocations: 0.7005 MB / 416.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.1002, allocations: 35.77 kB / 416.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.1002, allocations: 12 kB / 416.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003866/0.1006, allocations: 233.8 kB / 416.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003132/0.1009, allocations: 191.4 kB / 416.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005207/0.1014, allocations: 271.8 kB / 417 MB, free: 3.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.1014, allocations: 4 kB / 417 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001108/0.1025, allocations: 457.3 kB / 417.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.1025, allocations: 29.7 kB / 417.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1026, allocations: 4 kB / 417.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/0.103, allocations: 112.8 kB / 417.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1032, allocations: 39.98 kB / 417.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.1057, allocations: 1.954 MB / 419.6 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.1059, allocations: 39.7 kB / 419.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.106, allocations: 12 kB / 419.6 MB, free: 288 kB / 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.0001647/0.1061, allocations: 196.2 kB / 419.8 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1062, allocations: 31.88 kB / 419.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.1073, allocations: 381 kB / 420.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1073, allocations: 0 / 420.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1073, allocations: 3.938 kB / 420.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1073, allocations: 15.92 kB / 420.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1077, allocations: 269.1 kB / 420.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1077, allocations: 0 / 420.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1079, allocations: 23.98 kB / 420.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.109, allocations: 184.7 kB / 420.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.109, allocations: 8 kB / 420.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006998/0.1097, allocations: 0.6929 MB / 421.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1097, allocations: 8 kB / 421.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.111, allocations: 0.5062 MB / 421.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.1112, allocations: 75.67 kB / 422 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1112, allocations: 7.938 kB / 422 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1114, allocations: 19.98 kB / 422 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.1115, allocations: 23.95 kB / 422 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1115, allocations: 7.938 kB / 422 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.1118, allocations: 207.1 kB / 422.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1118, allocations: 0 / 422.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000601/0.1124, allocations: 187.6 kB / 422.4 MB, free: 13.37 MB / 350.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.0001395/0.1125, allocations: 103.2 kB / 422.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.1141, allocations: 0.7237 MB / 423.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1141, allocations: 0 / 423.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.1145, allocations: 132.6 kB / 423.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1148, allocations: 28.64 kB / 423.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1163, allocations: 0.8346 MB / 424.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.1165, allocations: 186.8 kB / 424.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.1166, allocations: 25.94 kB / 424.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1167, allocations: 20.44 kB / 424.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1167, allocations: 0 / 424.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Templates: time 0.009385/0.126, allocations: 4.224 MB / 428.7 MB, free: 6.984 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 -s ida -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.320299778948538] Failed to read output from testmodel.py, exit status != 0: 0.13329793501179665 0.270979281 0.183965429 Calling exit ...