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.001393/0.001393, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001474/0.001474, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.31/1.31, allocations: 158.6 MB / 184.2 MB, free: 6.414 MB / 174.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.009034/0.009034, allocations: 1.437 MB / 237.9 MB, free: 1.723 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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 353 MB, free: 19.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.325e-05/4.513e-05, allocations: 2.281 kB / 353 MB, free: 19.24 MB / 286.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003922/0.003967, allocations: 3.152 MB / 356.1 MB, free: 16.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.005753, allocations: 0.8928 MB / 357 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.006113, allocations: 4 kB / 357 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.006319, allocations: 55.41 kB / 357.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.006798, allocations: 170.5 kB / 357.2 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.007342, allocations: 155.7 kB / 357.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.008034, allocations: 0.5831 MB / 358 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.008286, allocations: 85.03 kB / 358.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000511/0.008797, allocations: 307.4 kB / 358.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.009081, allocations: 163.5 kB / 358.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.08e-05/0.009172, allocations: 48 kB / 358.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.00936, allocations: 75.97 kB / 358.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.009436, allocations: 95.66 kB / 358.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.009631, allocations: 167.6 kB / 358.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.01016, allocations: 0.5297 MB / 359.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01017, allocations: 0 / 359.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01017, allocations: 0 / 359.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.01019, allocations: 0 / 359.4 MB, free: 12.74 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.001404/0.01159, allocations: 0.676 MB / 360.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.01163, allocations: 11.98 kB / 360.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.01175, allocations: 48.66 kB / 360.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.01209, allocations: 252.5 kB / 360.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.01211, allocations: 25.03 kB / 360.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/0.01218, allocations: 40.33 kB / 360.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.01276, allocations: 310.6 kB / 360.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.01278, allocations: 8.188 kB / 360.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.01281, allocations: 12.38 kB / 360.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.01282, allocations: 15.88 kB / 360.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.01334, allocations: 250.5 kB / 361.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.01502, allocations: 0.9407 MB / 362 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.0157, allocations: 262.8 kB / 362.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.01593, allocations: 112.8 kB / 362.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.01597, allocations: 0 / 362.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.01634, allocations: 157.1 kB / 362.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.01634, allocations: 4 kB / 362.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002685/0.01903, allocations: 0.6118 MB / 363.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.01906, allocations: 63.33 kB / 363.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.01931, allocations: 284.5 kB / 363.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.01934, allocations: 37.64 kB / 363.5 MB, free: 8.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01944, allocations: 216.3 kB / 363.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.0195, allocations: 87.28 kB / 363.8 MB, free: 8.191 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.0196, allocations: 65.66 kB / 363.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.01967, allocations: 342.8 kB / 364.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.01992, allocations: 134.3 kB / 364.3 MB, free: 7.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.02017, allocations: 187.4 kB / 364.5 MB, free: 7.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.02063, allocations: 287.5 kB / 364.8 MB, free: 7.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.02063, allocations: 0 / 364.8 MB, free: 7.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007161/0.02135, allocations: 441.4 kB / 365.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.02138, allocations: 37.7 kB / 365.3 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.02139, allocations: 0 / 365.3 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.02312, allocations: 240.8 kB / 365.5 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.02332, allocations: 39.92 kB / 365.5 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005719/0.02389, allocations: 0.6967 MB / 366.2 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.02418, allocations: 35.77 kB / 366.3 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.02421, allocations: 16.06 kB / 366.3 MB, free: 5.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003101/0.02452, allocations: 233.8 kB / 366.5 MB, free: 5.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002495/0.02477, allocations: 183.4 kB / 366.7 MB, free: 5.125 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004188/0.02519, allocations: 275.8 kB / 367 MB, free: 4.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.614e-06/0.02519, allocations: 0 / 367 MB, free: 4.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009261/0.02612, allocations: 465.4 kB / 367.4 MB, free: 4.352 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.02614, allocations: 29.7 kB / 367.4 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.02615, allocations: 4 kB / 367.4 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.02653, allocations: 100.8 kB / 367.5 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.02672, allocations: 47.92 kB / 367.6 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.02882, allocations: 1.946 MB / 369.5 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.0291, allocations: 35.77 kB / 369.6 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.02912, allocations: 12 kB / 369.6 MB, free: 2.07 MB / 286.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.0001247/0.02924, allocations: 205.1 kB / 369.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.02929, allocations: 27.81 kB / 369.8 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009919/0.03028, allocations: 387.8 kB / 370.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.03029, allocations: 4 kB / 370.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.03029, allocations: 0 / 370.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.03029, allocations: 0 / 370.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.03057, allocations: 277 kB / 370.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03058, allocations: 3.984 kB / 370.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.03074, allocations: 31.92 kB / 370.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.03175, allocations: 184.7 kB / 370.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.03177, allocations: 8 kB / 370.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004352/0.03221, allocations: 0.6969 MB / 371.4 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.03221, allocations: 3.938 kB / 371.4 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.03349, allocations: 0.5031 MB / 371.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.03366, allocations: 67.75 kB / 372 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.03371, allocations: 8 kB / 372 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.03392, allocations: 11.98 kB / 372 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.03401, allocations: 27.89 kB / 372 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.03403, allocations: 8 kB / 372 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.03426, allocations: 203.1 kB / 372.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03426, allocations: 0 / 372.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.03496, allocations: 195.6 kB / 372.4 MB, free: 15.16 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.0002027/0.03516, allocations: 107.3 kB / 372.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.03691, allocations: 0.7206 MB / 373.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.03691, allocations: 0 / 373.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.03737, allocations: 123.9 kB / 373.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.03772, allocations: 32.67 kB / 373.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.03931, allocations: 0.761 MB / 374.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.03955, allocations: 186.8 kB / 374.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.03967, allocations: 25.94 kB / 374.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.03973, allocations: 16.5 kB / 374.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of SimCode: time 1.262e-06/0.03973, allocations: 0 / 374.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Templates: time 0.01125/0.05098, allocations: 4.221 MB / 378.6 MB, free: 8.871 MB / 302.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.39336733520031] Failed to read output from testmodel.py, exit status != 0: 0.05956549197435379 0.077121513 0.063493411 Calling exit ...