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.001292/0.001292, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.001378/0.001378, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.407/1.407, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.009105/0.009105, allocations: 1.958 MB / 283.6 MB, free: 5.074 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.002058/0.002058, allocations: 77.38 kB / 396.6 MB, free: 51.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07193/0.07399, allocations: 49.67 MB / 446.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.0032/0.07719, allocations: 3.455 MB / 449.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.07826, allocations: 0.9395 MB / 450.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.07838, allocations: 4 kB / 450.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.19e-05/0.07847, allocations: 59.34 kB / 450.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.07871, allocations: 154.7 kB / 450.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.07905, allocations: 163.7 kB / 451 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.07942, allocations: 0.56 MB / 451.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.0796, allocations: 100.5 kB / 451.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.07976, allocations: 207.2 kB / 451.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.07995, allocations: 223 kB / 452.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.08, allocations: 44 kB / 452.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.0801, allocations: 71.98 kB / 452.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.08016, allocations: 95.69 kB / 452.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.08029, allocations: 238.9 kB / 452.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.08066, allocations: 0.5176 MB / 453 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.08066, allocations: 0 / 453 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.08067, allocations: 0 / 453 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.08067, allocations: 0 / 453 MB, free: 0.9375 MB / 318.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.001055/0.08173, allocations: 0.7474 MB / 453.8 MB, free: 132 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.08176, allocations: 8.031 kB / 453.8 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.08181, allocations: 70.72 kB / 453.9 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.08188, allocations: 44.66 kB / 453.9 MB, free: 0 / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.08227, allocations: 319.5 kB / 454.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.0823, allocations: 25.03 kB / 454.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.08236, allocations: 32.38 kB / 454.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.08299, allocations: 318.2 kB / 454.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.083, allocations: 7.938 kB / 454.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.08304, allocations: 12 kB / 454.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.08305, allocations: 8 kB / 454.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.08365, allocations: 258.5 kB / 454.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.08556, allocations: 1.123 MB / 456 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.08629, allocations: 262.8 kB / 456.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.08655, allocations: 116.7 kB / 456.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.08659, allocations: 7.938 kB / 456.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.08699, allocations: 163.3 kB / 456.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.087, allocations: 0 / 456.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002812/0.08981, allocations: 0.6965 MB / 457.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.08985, allocations: 59.34 kB / 457.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.09025, allocations: 357.6 kB / 457.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.09029, allocations: 33.7 kB / 457.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.09045, allocations: 200.5 kB / 457.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.09053, allocations: 95.2 kB / 458 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.09065, allocations: 65.64 kB / 458 MB, free: 11.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.09081, allocations: 342.8 kB / 458.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.09107, allocations: 104.8 kB / 458.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.09138, allocations: 150 kB / 458.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.09193, allocations: 291.5 kB / 458.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.09193, allocations: 4 kB / 458.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008192/0.09275, allocations: 407.8 kB / 459.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.09279, allocations: 33.69 kB / 459.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.0928, allocations: 4 kB / 459.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.09449, allocations: 236.8 kB / 459.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.09469, allocations: 47.97 kB / 459.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007938/0.09548, allocations: 0.7005 MB / 460.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.09577, allocations: 47.86 kB / 460.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.0958, allocations: 8 kB / 460.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003526/0.09615, allocations: 216.1 kB / 460.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002687/0.09642, allocations: 150.3 kB / 460.7 MB, free: 8.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005718/0.097, allocations: 275.8 kB / 461 MB, free: 8.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.097, allocations: 0 / 461 MB, free: 8.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001013/0.09801, allocations: 439.6 kB / 461.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.09804, allocations: 37.83 kB / 461.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.09805, allocations: 4 kB / 461.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.09844, allocations: 96.72 kB / 461.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.09864, allocations: 51.91 kB / 461.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.1013, allocations: 2.096 MB / 463.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.1015, allocations: 35.77 kB / 463.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.1016, allocations: 12 kB / 463.7 MB, free: 5.641 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.0001587/0.1017, allocations: 196.3 kB / 463.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.1018, allocations: 43.64 kB / 464 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1029, allocations: 396.7 kB / 464.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1029, allocations: 4 kB / 464.4 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1029, allocations: 0 / 464.4 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1029, allocations: 0 / 464.4 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.1034, allocations: 393.3 kB / 464.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1034, allocations: 4 kB / 464.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1035, allocations: 23.98 kB / 464.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.1046, allocations: 184.7 kB / 465 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1046, allocations: 11.94 kB / 465 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006796/0.1053, allocations: 0.7046 MB / 465.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1053, allocations: 0 / 465.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.1065, allocations: 0.5133 MB / 466.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.1067, allocations: 148.8 kB / 466.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.1067, allocations: 7.984 kB / 466.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1069, allocations: 15.98 kB / 466.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.107, allocations: 19.97 kB / 466.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.107, allocations: 12 kB / 466.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.1073, allocations: 251.2 kB / 466.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1073, allocations: 0 / 466.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005613/0.1079, allocations: 171.8 kB / 466.8 MB, free: 2.445 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.001641/0.1095, allocations: 1.062 MB / 467.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.111, allocations: 0.6618 MB / 468.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.111, allocations: 0 / 468.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.1114, allocations: 132.7 kB / 468.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1117, allocations: 49.52 kB / 468.7 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.117, allocations: 3.553 MB / 472.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.1174, allocations: 0.7876 MB / 473 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.1175, allocations: 34.95 kB / 473.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.1177, allocations: 103.4 kB / 473.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1177, allocations: 0 / 473.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.1545, allocations: 8.98 MB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.73, allocations: 3.938 kB / 482.2 MB, free: 2.797 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 os._exit(0), Time elapsed: 14.298812566994457] Failed to read output from testmodel.py, exit status != 0: 11.824134023001534 11.839174994 11.755619013 Calling exit ...