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.001151/0.001151, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001043/0.001043, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8427/0.8427, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.01006/0.01006, allocations: 1.428 MB / 237.9 MB, free: 13.92 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.98e-05, allocations: 6.219 kB / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003045/0.003065, allocations: 3.137 MB / 355.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.004537, allocations: 0.8967 MB / 356.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.004735, allocations: 4 kB / 356.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.00484, allocations: 59.41 kB / 356.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.005138, allocations: 162.5 kB / 356.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.005627, allocations: 167.5 kB / 356.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.006074, allocations: 0.5793 MB / 357.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.006249, allocations: 85.03 kB / 357.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.006503, allocations: 307.3 kB / 357.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.00666, allocations: 167.5 kB / 358 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.006701, allocations: 52 kB / 358.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.006796, allocations: 71.97 kB / 358.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.006841, allocations: 95.66 kB / 358.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.006943, allocations: 163.6 kB / 358.4 MB, free: 9.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.007304, allocations: 0.5259 MB / 358.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.007307, allocations: 3.984 kB / 358.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.007308, allocations: 0 / 358.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.007317, allocations: 0 / 358.9 MB, free: 9.414 MB / 282.7 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.0008279/0.008145, allocations: 0.6683 MB / 359.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.008184, allocations: 15.98 kB / 359.6 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.008228, allocations: 66.72 kB / 359.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.008301, allocations: 52.64 kB / 359.7 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.008533, allocations: 252.5 kB / 360 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.00855, allocations: 24.97 kB / 360 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.00859, allocations: 44.33 kB / 360 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.008955, allocations: 314.6 kB / 360.3 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.008966, allocations: 8.125 kB / 360.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.008986, allocations: 12.12 kB / 360.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.008993, allocations: 8 kB / 360.4 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.009309, allocations: 258.5 kB / 360.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01042, allocations: 1.006 MB / 361.6 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.01087, allocations: 259.5 kB / 361.9 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.01101, allocations: 104.8 kB / 362 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.01103, allocations: 12.02 kB / 362 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.01132, allocations: 161.1 kB / 362.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.01132, allocations: 0 / 362.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001396/0.01271, allocations: 0.6195 MB / 362.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.01274, allocations: 55.41 kB / 362.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.01295, allocations: 365.5 kB / 363.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.01297, allocations: 29.7 kB / 363.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.01305, allocations: 200.6 kB / 363.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.01309, allocations: 91.27 kB / 363.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.01316, allocations: 65.66 kB / 363.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.01321, allocations: 346.7 kB / 363.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.01336, allocations: 130.3 kB / 364 MB, free: 4.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.01352, allocations: 191.3 kB / 364.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.01378, allocations: 287.6 kB / 364.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01379, allocations: 0 / 364.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004325/0.01422, allocations: 449.5 kB / 364.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.01425, allocations: 41.69 kB / 365 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01425, allocations: 4 kB / 365 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007966/0.01505, allocations: 228.6 kB / 365.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.01516, allocations: 47.91 kB / 365.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003684/0.01553, allocations: 0.6928 MB / 365.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01567, allocations: 47.69 kB / 366 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.01569, allocations: 12 kB / 366 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001914/0.01588, allocations: 241.8 kB / 366.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001354/0.01601, allocations: 179.3 kB / 366.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00024/0.01625, allocations: 271.9 kB / 366.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.01626, allocations: 0 / 366.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0004878/0.01674, allocations: 465.5 kB / 367.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01676, allocations: 33.7 kB / 367.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.01676, allocations: 0 / 367.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.01696, allocations: 104.8 kB / 367.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01706, allocations: 51.84 kB / 367.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.01852, allocations: 1.983 MB / 369.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.01867, allocations: 27.88 kB / 369.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01868, allocations: 12 kB / 369.3 MB, free: 14.46 MB / 298.7 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.0001212/0.0188, allocations: 193.1 kB / 369.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.01884, allocations: 35.77 kB / 369.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.01948, allocations: 392.9 kB / 369.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01949, allocations: 0 / 369.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01949, allocations: 3.938 kB / 369.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01949, allocations: 4 kB / 369.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.01978, allocations: 316.5 kB / 370.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01978, allocations: 0 / 370.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.01988, allocations: 31.97 kB / 370.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005404/0.02042, allocations: 184.7 kB / 370.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.02044, allocations: 8 kB / 370.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003913/0.02083, allocations: 0.7006 MB / 371.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02083, allocations: 3.938 kB / 371.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.02161, allocations: 0.5033 MB / 371.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.02172, allocations: 79.58 kB / 371.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.02175, allocations: 4 kB / 371.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.02184, allocations: 19.92 kB / 371.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.02191, allocations: 23.95 kB / 371.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.02193, allocations: 15.98 kB / 371.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.02213, allocations: 247.2 kB / 372.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02213, allocations: 0 / 372.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004432/0.02257, allocations: 175.8 kB / 372.2 MB, free: 11.45 MB / 298.7 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.001149/0.02372, allocations: 1.066 MB / 373.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009586/0.02468, allocations: 0.7167 MB / 374 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.02468, allocations: 0 / 374 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.02489, allocations: 123.9 kB / 374.1 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.02514, allocations: 56.2 kB / 374.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.02895, allocations: 3.597 MB / 377.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.02908, allocations: 190.8 kB / 378 MB, free: 5.445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.598e-05/0.02918, allocations: 26.95 kB / 378 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.02929, allocations: 104.5 kB / 378.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02929, allocations: 8 kB / 378.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.05328, allocations: 9.258 MB / 387.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/8.809, allocations: 12.03 kB / 387.4 MB, free: 11.98 MB / 314.7 MB " [Timeout remaining time 651] (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: 10.635825195349753] Failed to read output from testmodel.py, exit status != 0: 8.899485963396728 8.907694704 8.898716947 Calling exit ...