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.001644/0.001644, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001676/0.001676, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.39/1.39, allocations: 207.6 MB / 233 MB, free: 10.02 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.009337/0.009337, allocations: 1.97 MB / 287.2 MB, free: 3.859 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: "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="me",version="2.0",platforms={"static"}) [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.002182/0.002182, allocations: 75.22 kB / 401.8 MB, free: 50.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08671, allocations: 49.7 MB / 451.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003545/0.09025, allocations: 3.467 MB / 454.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.09154, allocations: 0.9394 MB / 455.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.09167, allocations: 4 kB / 455.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.09178, allocations: 63.41 kB / 455.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.09203, allocations: 166.6 kB / 456.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.09237, allocations: 147.8 kB / 456.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.09277, allocations: 0.5599 MB / 456.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.09295, allocations: 101 kB / 456.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.09312, allocations: 215.2 kB / 457.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.09333, allocations: 211.1 kB / 457.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.09338, allocations: 48 kB / 457.4 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.09348, allocations: 71.98 kB / 457.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.09354, allocations: 99.61 kB / 457.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.09373, allocations: 235 kB / 457.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.09432, allocations: 0.5136 MB / 458.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09432, allocations: 0 / 458.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09432, allocations: 4 kB / 458.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.639e-06/0.09433, allocations: 3.984 kB / 458.3 MB, free: 15.41 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.001339/0.09567, allocations: 0.6721 MB / 459 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.09572, allocations: 11.98 kB / 459 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.88e-05/0.0958, allocations: 70.72 kB / 459 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.09589, allocations: 48.66 kB / 459.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.09625, allocations: 257.2 kB / 459.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.09628, allocations: 25.03 kB / 459.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.09635, allocations: 32.38 kB / 459.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.09698, allocations: 322.2 kB / 459.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.09699, allocations: 0 / 459.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.09702, allocations: 12 kB / 459.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.09703, allocations: 4 kB / 459.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.09759, allocations: 266.4 kB / 460 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.09949, allocations: 1.092 MB / 461.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.1002, allocations: 262.8 kB / 461.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.1005, allocations: 120.7 kB / 461.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.1005, allocations: 4 kB / 461.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004392/0.1009, allocations: 163.2 kB / 461.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1009, allocations: 0 / 461.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002712/0.1037, allocations: 0.6202 MB / 462.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.1037, allocations: 59.34 kB / 462.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.1041, allocations: 357.6 kB / 462.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.1041, allocations: 29.7 kB / 462.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1043, allocations: 204.5 kB / 462.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.1044, allocations: 91.22 kB / 463 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1045, allocations: 69.64 kB / 463 MB, free: 10.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1047, allocations: 338.8 kB / 463.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1049, allocations: 108.8 kB / 463.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.1052, allocations: 153.7 kB / 463.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.1057, allocations: 287.5 kB / 463.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1057, allocations: 4 kB / 463.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007629/0.1065, allocations: 415.8 kB / 464.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.1065, allocations: 29.7 kB / 464.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1065, allocations: 4 kB / 464.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.1082, allocations: 232.8 kB / 464.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1084, allocations: 43.91 kB / 464.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000697/0.1091, allocations: 0.6966 MB / 465.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.1094, allocations: 43.86 kB / 465.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.1094, allocations: 12 kB / 465.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003325/0.1098, allocations: 212.1 kB / 465.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002564/0.11, allocations: 145.7 kB / 465.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004632/0.1105, allocations: 279.8 kB / 466 MB, free: 7.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.1105, allocations: 4 kB / 466 MB, free: 7.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009622/0.1115, allocations: 435.8 kB / 466.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.1115, allocations: 37.64 kB / 466.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1115, allocations: 7.984 kB / 466.5 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.1119, allocations: 104.7 kB / 466.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1121, allocations: 39.98 kB / 466.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.1145, allocations: 2.004 MB / 468.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.1148, allocations: 35.77 kB / 468.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.1148, allocations: 12 kB / 468.7 MB, free: 4.535 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.0001603/0.115, allocations: 196.3 kB / 468.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.115, allocations: 43.64 kB / 468.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.116, allocations: 386.8 kB / 469.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.116, allocations: 4 kB / 469.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.116, allocations: 0 / 469.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1161, allocations: 3.984 kB / 469.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.1165, allocations: 372.3 kB / 469.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1165, allocations: 3.938 kB / 469.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.1167, allocations: 23.98 kB / 469.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.1177, allocations: 188.7 kB / 469.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.1177, allocations: 7.938 kB / 469.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006395/0.1183, allocations: 0.689 MB / 470.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1183, allocations: 0 / 470.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.1196, allocations: 0.5171 MB / 471.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.1197, allocations: 71.7 kB / 471.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.1198, allocations: 7.984 kB / 471.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.12, allocations: 19.98 kB / 471.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.12, allocations: 27.95 kB / 471.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1201, allocations: 8 kB / 471.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.1203, allocations: 247.2 kB / 471.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1203, allocations: 192 / 471.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000556/0.1209, allocations: 183.7 kB / 471.6 MB, free: 1.469 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.001605/0.1225, allocations: 1.054 MB / 472.7 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.124, allocations: 0.6574 MB / 473.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.124, allocations: 4 kB / 473.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.1244, allocations: 129.1 kB / 473.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1247, allocations: 41.66 kB / 473.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.1299, allocations: 3.569 MB / 477.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.1303, allocations: 0.7915 MB / 477.9 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.1305, allocations: 30.95 kB / 477.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.1306, allocations: 107.4 kB / 478 MB, free: 10.86 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1306, allocations: 0 / 478 MB, free: 10.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.1701, allocations: 9.306 MB / 487.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.42, allocations: 8.047 kB / 487.3 MB, free: 1.492 MB / 350.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestStandardPatient_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestStandardPatient.fmu > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.01606373800314] Failed to read output from testmodel.py, exit status != 0: 12.536191621002217 12.556167366 12.458728515 Calling exit ...