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.001329/0.001329, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001498/0.001498, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.414/1.414, allocations: 207.7 MB / 233.1 MB, free: 9.773 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.009554/0.009554, allocations: 1.954 MB / 287.3 MB, free: 3.672 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.002185/0.002185, allocations: 69.22 kB / 401.8 MB, free: 50.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08168/0.08387, allocations: 49.7 MB / 451.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003258/0.08713, allocations: 3.148 MB / 454.6 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.08838, allocations: 0.8928 MB / 455.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.0885, allocations: 4 kB / 455.5 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.855e-05/0.0886, allocations: 63.34 kB / 455.6 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.08886, allocations: 162.7 kB / 455.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.08919, allocations: 147.8 kB / 455.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.08956, allocations: 0.5638 MB / 456.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.08977, allocations: 93 kB / 456.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.08994, allocations: 207.2 kB / 456.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.09013, allocations: 199.1 kB / 456.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.09018, allocations: 47.94 kB / 457 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.09031, allocations: 71.97 kB / 457 MB, free: 472 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.09038, allocations: 95.69 kB / 457.1 MB, free: 376 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.09051, allocations: 195.2 kB / 457.3 MB, free: 180 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.09106, allocations: 0.5215 MB / 457.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.09106, allocations: 0 / 457.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.09106, allocations: 0 / 457.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.09107, allocations: 3.938 kB / 457.9 MB, free: 15.64 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.00138/0.09246, allocations: 0.6683 MB / 458.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.09252, allocations: 15.98 kB / 458.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.328e-05/0.09261, allocations: 66.72 kB / 458.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/0.0927, allocations: 48.66 kB / 458.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.09309, allocations: 253.2 kB / 458.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.09312, allocations: 29.03 kB / 458.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.09318, allocations: 28.38 kB / 459 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.09383, allocations: 322.1 kB / 459.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.09384, allocations: 4 kB / 459.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.09388, allocations: 19.94 kB / 459.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.09389, allocations: 8 kB / 459.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.09448, allocations: 250.5 kB / 459.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.09647, allocations: 0.9984 MB / 460.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.0972, allocations: 258.8 kB / 460.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.09746, allocations: 116.7 kB / 460.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.09749, allocations: 8 kB / 460.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.09793, allocations: 167.3 kB / 461.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.09793, allocations: 0 / 461.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002698/0.1006, allocations: 0.6234 MB / 461.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.1007, allocations: 55.41 kB / 461.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.1011, allocations: 361.5 kB / 462.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1011, allocations: 29.7 kB / 462.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.1013, allocations: 200.6 kB / 462.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.1014, allocations: 87.27 kB / 462.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1015, allocations: 69.64 kB / 462.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1017, allocations: 342.8 kB / 462.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.102, allocations: 134.5 kB / 463 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.1023, allocations: 183.4 kB / 463.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.1029, allocations: 287.5 kB / 463.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.1029, allocations: 0 / 463.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008455/0.1038, allocations: 449.5 kB / 463.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.1038, allocations: 33.7 kB / 463.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1038, allocations: 0 / 463.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.1055, allocations: 244.7 kB / 464.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1057, allocations: 39.97 kB / 464.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007575/0.1064, allocations: 0.6929 MB / 464.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.1067, allocations: 47.66 kB / 464.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1067, allocations: 20.05 kB / 464.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003844/0.1071, allocations: 233.8 kB / 465.2 MB, free: 8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002923/0.1074, allocations: 187.3 kB / 465.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004924/0.1079, allocations: 271.8 kB / 465.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.1079, allocations: 0 / 465.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001032/0.1089, allocations: 469.4 kB / 466.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.109, allocations: 37.64 kB / 466.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.109, allocations: 0 / 466.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004033/0.1094, allocations: 100.7 kB / 466.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.1096, allocations: 47.91 kB / 466.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.1121, allocations: 1.973 MB / 468.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.1124, allocations: 31.94 kB / 468.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1124, allocations: 12 kB / 468.3 MB, free: 4.695 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.0001749/0.1126, allocations: 192.2 kB / 468.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.1127, allocations: 39.7 kB / 468.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1137, allocations: 398.5 kB / 468.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1137, allocations: 0 / 468.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1137, allocations: 0 / 468.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1137, allocations: 12.16 kB / 468.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.1141, allocations: 316.5 kB / 469.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1141, allocations: 3.938 kB / 469.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.1143, allocations: 27.98 kB / 469.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.1153, allocations: 184.7 kB / 469.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1153, allocations: 7.938 kB / 469.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006912/0.116, allocations: 0.7123 MB / 470.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.116, allocations: 4 kB / 470.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.1173, allocations: 0.5094 MB / 470.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.1174, allocations: 75.64 kB / 470.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.1175, allocations: 8 kB / 470.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1177, allocations: 15.98 kB / 470.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.1178, allocations: 23.95 kB / 470.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1178, allocations: 4 kB / 470.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.1181, allocations: 251.2 kB / 471 MB, free: 1.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1181, allocations: 0 / 471 MB, free: 1.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005634/0.1186, allocations: 175.8 kB / 471.2 MB, free: 1.664 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.001645/0.1203, allocations: 1.066 MB / 472.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.1218, allocations: 0.716 MB / 473 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1218, allocations: 0.75 kB / 473 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.1222, allocations: 136.3 kB / 473.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1226, allocations: 41.47 kB / 473.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.1283, allocations: 3.658 MB / 476.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.1285, allocations: 190.8 kB / 477 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.1286, allocations: 30.95 kB / 477 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1288, allocations: 115.3 kB / 477.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1288, allocations: 0 / 477.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04282/0.1716, allocations: 9.103 MB / 486.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/12.96, allocations: 11.78 kB / 486.2 MB, free: 2.281 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 sys.exit(0), Time elapsed: 15.624892469961196] Failed to read output from testmodel.py, exit status != 0: 13.079454008955508 13.103818713 13.008258035 Calling exit ...