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.001775/0.001775, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002215/0.002215, allocations: 184.7 kB / 22.22 MB, free: 5.105 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.452/1.452, allocations: 207.6 MB / 233 MB, free: 10.89 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.009316/0.009316, allocations: 1.962 MB / 287.2 MB, free: 4 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: "" <> 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.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.002167/0.002167, allocations: 74.81 kB / 401.7 MB, free: 51.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07795/0.08012, allocations: 49.7 MB / 451.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003379/0.0835, allocations: 3.463 MB / 454.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.08484, allocations: 0.9433 MB / 455.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.08499, allocations: 4 kB / 455.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.08511, allocations: 63.41 kB / 455.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.08538, allocations: 162.7 kB / 456.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.08575, allocations: 151.7 kB / 456.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.08617, allocations: 0.5638 MB / 456.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.08636, allocations: 97 kB / 456.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.08654, allocations: 211.2 kB / 457.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.08674, allocations: 215.1 kB / 457.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.08679, allocations: 48 kB / 457.3 MB, free: 392 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.0869, allocations: 75.97 kB / 457.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.08696, allocations: 103.6 kB / 457.5 MB, free: 212 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.08714, allocations: 231.1 kB / 457.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.08774, allocations: 0.5137 MB / 458.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.08774, allocations: 4 kB / 458.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.08774, allocations: 0 / 458.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.08775, allocations: 0 / 458.2 MB, free: 15.46 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.001351/0.0891, allocations: 0.7474 MB / 459 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.08914, allocations: 11.98 kB / 459 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.998e-05/0.08923, allocations: 70.72 kB / 459.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.789e-05/0.08932, allocations: 44.66 kB / 459.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.08971, allocations: 315.1 kB / 459.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.08974, allocations: 25.03 kB / 459.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.08981, allocations: 36.36 kB / 459.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.09045, allocations: 322.2 kB / 459.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.09046, allocations: 0 / 459.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.09049, allocations: 8 kB / 459.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.0905, allocations: 8 kB / 459.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.09108, allocations: 262.5 kB / 460.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.09301, allocations: 1.131 MB / 461.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.09372, allocations: 262.7 kB / 461.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.09399, allocations: 120.6 kB / 461.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.09402, allocations: 7.984 kB / 461.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.09444, allocations: 159.2 kB / 461.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.09444, allocations: 0 / 461.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.00268/0.09712, allocations: 0.6956 MB / 462.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.09717, allocations: 67.28 kB / 462.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.09757, allocations: 357.6 kB / 462.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.09761, allocations: 29.7 kB / 462.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.09777, allocations: 200.6 kB / 463.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.09785, allocations: 91.2 kB / 463.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.09798, allocations: 73.66 kB / 463.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.09814, allocations: 338.8 kB / 463.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.0984, allocations: 104.8 kB / 463.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.09869, allocations: 157.7 kB / 463.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.09924, allocations: 295.5 kB / 464.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.09924, allocations: 0 / 464.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009091/0.1001, allocations: 407.8 kB / 464.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.1002, allocations: 37.69 kB / 464.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1002, allocations: 4 kB / 464.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.1019, allocations: 232.8 kB / 464.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1021, allocations: 43.91 kB / 464.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007951/0.1028, allocations: 0.7005 MB / 465.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.1032, allocations: 39.8 kB / 465.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1032, allocations: 12 kB / 465.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003946/0.1036, allocations: 208.3 kB / 465.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002886/0.1039, allocations: 153.7 kB / 465.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004975/0.1044, allocations: 267.9 kB / 466.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.1044, allocations: 0 / 466.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001025/0.1054, allocations: 451.7 kB / 466.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.1054, allocations: 37.64 kB / 466.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1054, allocations: 4 kB / 466.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/0.1059, allocations: 96.78 kB / 466.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1061, allocations: 47.91 kB / 466.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.1087, allocations: 2.1 MB / 468.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.109, allocations: 39.77 kB / 468.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.109, allocations: 8 kB / 469 MB, free: 4.156 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.0001929/0.1092, allocations: 200.2 kB / 469.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.1093, allocations: 47.64 kB / 469.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.1104, allocations: 386.5 kB / 469.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1104, allocations: 4 kB / 469.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1104, allocations: 3.984 kB / 469.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1104, allocations: 0 / 469.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.1109, allocations: 389.3 kB / 470 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1109, allocations: 0 / 470 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.1111, allocations: 35.92 kB / 470 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009703/0.112, allocations: 184.7 kB / 470.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1121, allocations: 7.938 kB / 470.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006972/0.1128, allocations: 0.6969 MB / 470.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1128, allocations: 0 / 470.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.114, allocations: 0.521 MB / 471.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.1142, allocations: 148.8 kB / 471.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.1143, allocations: 4 kB / 471.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.1145, allocations: 19.98 kB / 471.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.1146, allocations: 23.95 kB / 471.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1146, allocations: 7.984 kB / 471.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.1149, allocations: 247.2 kB / 471.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1149, allocations: 0 / 471.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006124/0.1155, allocations: 175.8 kB / 472 MB, free: 0.9609 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.001634/0.1171, allocations: 1.05 MB / 473.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.1187, allocations: 0.6653 MB / 473.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1187, allocations: 0.75 kB / 473.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.1191, allocations: 132.3 kB / 473.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1194, allocations: 57.41 kB / 473.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.1247, allocations: 3.553 MB / 477.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1251, allocations: 0.7876 MB / 478.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.1252, allocations: 34.95 kB / 478.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.1254, allocations: 107.3 kB / 478.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1254, allocations: 0 / 478.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.1631, allocations: 9.27 MB / 487.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.38, allocations: 11.83 kB / 487.7 MB, free: 1.016 MB / 350.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.075567328138277] Failed to read output from testmodel.py, exit status != 0: 12.469593948917463 12.488950789 12.397313817 Calling exit ...