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.001649/0.001649, allocations: 107.7 kB / 18.95 MB, free: 2.676 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.001708/0.001708, allocations: 222.2 kB / 22.25 MB, free: 5.246 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.411/1.411, allocations: 207.7 MB / 233.1 MB, free: 9.766 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.009398/0.009398, allocations: 1.97 MB / 287.3 MB, free: 3.664 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.002172/0.002172, allocations: 71.05 kB / 401.8 MB, free: 50.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07306/0.07523, allocations: 49.69 MB / 451.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003021/0.07825, allocations: 3.152 MB / 454.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.07939, allocations: 0.8966 MB / 455.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.07952, allocations: 4 kB / 455.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.07962, allocations: 63.34 kB / 455.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.07986, allocations: 158.7 kB / 455.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.08021, allocations: 155.7 kB / 455.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.08059, allocations: 0.5639 MB / 456.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.08076, allocations: 93.02 kB / 456.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.08093, allocations: 211.2 kB / 456.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.08112, allocations: 219.1 kB / 457 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.08118, allocations: 48 kB / 457 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.08129, allocations: 67.98 kB / 457.1 MB, free: 452 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.08135, allocations: 95.69 kB / 457.2 MB, free: 356 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.08149, allocations: 203.1 kB / 457.4 MB, free: 152 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.08206, allocations: 0.5139 MB / 457.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.08206, allocations: 0 / 457.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08206, allocations: 0 / 457.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.08207, allocations: 0 / 457.9 MB, free: 15.62 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.001317/0.08339, allocations: 0.6721 MB / 458.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.08343, allocations: 19.92 kB / 458.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/0.08351, allocations: 66.72 kB / 458.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.08359, allocations: 48.66 kB / 458.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.08398, allocations: 257.2 kB / 458.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.084, allocations: 25.03 kB / 459 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.08407, allocations: 28.38 kB / 459 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.08469, allocations: 318.2 kB / 459.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.0847, allocations: 11.92 kB / 459.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.08474, allocations: 12 kB / 459.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.08475, allocations: 8 kB / 459.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.08533, allocations: 262.4 kB / 459.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.08722, allocations: 0.9906 MB / 460.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.08792, allocations: 258.8 kB / 460.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.08818, allocations: 112.7 kB / 460.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.08822, allocations: 4 kB / 460.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.08864, allocations: 171.3 kB / 461.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.08864, allocations: 0 / 461.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002635/0.09128, allocations: 0.624 MB / 461.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.09133, allocations: 59.41 kB / 461.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.09171, allocations: 349.6 kB / 462.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.09174, allocations: 29.7 kB / 462.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.0919, allocations: 208.5 kB / 462.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.09199, allocations: 95.14 kB / 462.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.09211, allocations: 65.66 kB / 462.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.09227, allocations: 346.8 kB / 462.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.09256, allocations: 130.5 kB / 463 MB, free: 10.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.09287, allocations: 191.4 kB / 463.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.0934, allocations: 287.5 kB / 463.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.0934, allocations: 0 / 463.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008396/0.09424, allocations: 437.5 kB / 463.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.09429, allocations: 41.69 kB / 463.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.0943, allocations: 0 / 463.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.09591, allocations: 240.8 kB / 464.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.09611, allocations: 39.97 kB / 464.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007474/0.09686, allocations: 0.6967 MB / 464.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.09716, allocations: 39.77 kB / 464.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.09719, allocations: 16.06 kB / 464.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003769/0.09756, allocations: 237.8 kB / 465.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003085/0.09787, allocations: 179.4 kB / 465.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004872/0.09836, allocations: 275.8 kB / 465.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.09836, allocations: 0 / 465.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009997/0.09936, allocations: 465.5 kB / 466.1 MB, free: 7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.0994, allocations: 37.64 kB / 466.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.0994, allocations: 0 / 466.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.09979, allocations: 104.7 kB / 466.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.09999, allocations: 51.84 kB / 466.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.1025, allocations: 1.969 MB / 468.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.1028, allocations: 39.83 kB / 468.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1028, allocations: 12 kB / 468.3 MB, free: 4.668 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.0001659/0.103, allocations: 196.2 kB / 468.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.103, allocations: 39.7 kB / 468.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.1041, allocations: 390.5 kB / 468.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1041, allocations: 4 kB / 468.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1041, allocations: 0 / 468.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1041, allocations: 3.938 kB / 468.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.1045, allocations: 320.5 kB / 469.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1045, allocations: 4 kB / 469.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.1046, allocations: 27.97 kB / 469.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009991/0.1056, allocations: 192.7 kB / 469.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1057, allocations: 7.938 kB / 469.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006781/0.1063, allocations: 0.7007 MB / 470.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1063, allocations: 3.984 kB / 470.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1076, allocations: 0.5133 MB / 470.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.1077, allocations: 71.7 kB / 470.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.1078, allocations: 8 kB / 470.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.108, allocations: 15.98 kB / 470.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.1081, allocations: 24.14 kB / 470.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1081, allocations: 7.984 kB / 470.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.1084, allocations: 251.1 kB / 471 MB, free: 1.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1084, allocations: 0 / 471 MB, free: 1.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005918/0.109, allocations: 175.8 kB / 471.2 MB, free: 1.645 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.001608/0.1106, allocations: 1.062 MB / 472.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.1121, allocations: 0.7232 MB / 473 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1121, allocations: 0.75 kB / 473 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.1125, allocations: 128.4 kB / 473.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1129, allocations: 45.45 kB / 473.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.1182, allocations: 3.669 MB / 476.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.1184, allocations: 190.8 kB / 477 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1185, allocations: 26.97 kB / 477 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.1187, allocations: 107.4 kB / 477.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1187, allocations: 0 / 477.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.1638, allocations: 9.273 MB / 486.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.53, allocations: 15.91 kB / 486.4 MB, free: 2.086 MB / 350.1 MB " [Timeout remaining time 646] (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: 16.13722861104179] Failed to read output from testmodel.py, exit status != 0: 13.64648183999816 13.663505637 13.578157635 Calling exit ...