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.0007332/0.0007332, 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.0007721/0.0007721, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.817/0.817, allocations: 158.6 MB / 184.2 MB, free: 3.039 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.01137/0.01137, allocations: 1.42 MB / 237.9 MB, free: 13.93 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.463e-06/1.463e-06, allocations: 0 / 352.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.643e-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.002392/0.002408, allocations: 3.144 MB / 355.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003531, allocations: 0.9005 MB / 356.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.00365, allocations: 4 kB / 356.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.75e-05/0.003728, allocations: 55.41 kB / 356.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.00393, allocations: 170.5 kB / 356.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.004238, allocations: 159.6 kB / 356.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.00455, allocations: 0.5793 MB / 357.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.004703, allocations: 89.02 kB / 357.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.004914, allocations: 311.3 kB / 357.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.005048, allocations: 163.5 kB / 358 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.005086, allocations: 52 kB / 358.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.005171, allocations: 67.98 kB / 358.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.00521, allocations: 95.66 kB / 358.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.005297, allocations: 167.6 kB / 358.4 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.005582, allocations: 0.5298 MB / 358.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005584, allocations: 0 / 358.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005586, allocations: 0 / 358.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.005591, allocations: 0 / 358.9 MB, free: 9.41 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.0007271/0.006319, allocations: 0.6682 MB / 359.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.006355, allocations: 11.98 kB / 359.6 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.006396, allocations: 70.72 kB / 359.7 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.006447, allocations: 48.59 kB / 359.7 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.006652, allocations: 248.6 kB / 360 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.006667, allocations: 32.97 kB / 360 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.006704, allocations: 36.33 kB / 360 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.007052, allocations: 318.6 kB / 360.3 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.007061, allocations: 4.125 kB / 360.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.007082, allocations: 20.12 kB / 360.4 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.007089, allocations: 8 kB / 360.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.007393, allocations: 254.5 kB / 360.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.008399, allocations: 1.006 MB / 361.6 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.008809, allocations: 254.9 kB / 361.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.008944, allocations: 108.9 kB / 362 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.008965, allocations: 7.938 kB / 362 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.009185, allocations: 165 kB / 362.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.009187, allocations: 0 / 362.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001354/0.01054, allocations: 0.6195 MB / 362.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.01056, allocations: 59.41 kB / 362.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.01077, allocations: 357.5 kB / 363.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01079, allocations: 29.7 kB / 363.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.01086, allocations: 208.6 kB / 363.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.01089, allocations: 83.28 kB / 363.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.01096, allocations: 65.64 kB / 363.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.011, allocations: 346.8 kB / 363.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.01115, allocations: 138.2 kB / 364 MB, free: 4.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.0113, allocations: 187.3 kB / 364.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.01157, allocations: 283.6 kB / 364.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01157, allocations: 0 / 364.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005772/0.01215, allocations: 453.3 kB / 364.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.01217, allocations: 37.89 kB / 365 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.01217, allocations: 0 / 365 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007736/0.01295, allocations: 232.6 kB / 365.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01305, allocations: 47.91 kB / 365.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003435/0.01339, allocations: 0.6928 MB / 365.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.01354, allocations: 47.66 kB / 366 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.01356, allocations: 15.98 kB / 366 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001871/0.01375, allocations: 233.8 kB / 366.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001354/0.01388, allocations: 179.3 kB / 366.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002409/0.01412, allocations: 279.9 kB / 366.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.01412, allocations: 0 / 366.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0004888/0.01461, allocations: 469.4 kB / 367.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01463, allocations: 29.7 kB / 367.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.01463, allocations: 4 kB / 367.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.01482, allocations: 96.78 kB / 367.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.01492, allocations: 55.84 kB / 367.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.01631, allocations: 1.981 MB / 369.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.01644, allocations: 23.88 kB / 369.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01645, allocations: 16 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 9.35e-05/0.01655, allocations: 189.1 kB / 369.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.01658, allocations: 35.77 kB / 369.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.01717, allocations: 388.9 kB / 369.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01717, allocations: 4 kB / 369.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01718, allocations: 3.938 kB / 369.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01718, allocations: 3.984 kB / 369.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.01743, allocations: 320.5 kB / 370.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01743, allocations: 0 / 370.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.01752, allocations: 31.98 kB / 370.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.018, allocations: 184.7 kB / 370.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.01802, allocations: 7.938 kB / 370.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003968/0.01841, allocations: 0.7006 MB / 371.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01841, allocations: 3.938 kB / 371.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.01909, allocations: 0.5033 MB / 371.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.01922, allocations: 79.58 kB / 371.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01925, allocations: 11.94 kB / 371.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.01934, allocations: 11.98 kB / 371.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.01939, allocations: 23.95 kB / 371.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.01941, allocations: 8 kB / 371.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.01957, allocations: 255.2 kB / 372.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01957, allocations: 0 / 372.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.01992, allocations: 171.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.0009842/0.0209, allocations: 1.066 MB / 373.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00088/0.02178, allocations: 0.7128 MB / 374 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02178, allocations: 4.062 kB / 374 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.02199, allocations: 127.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.0002332/0.02222, allocations: 52.84 kB / 374.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.02571, allocations: 3.6 MB / 377.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.02608, allocations: 190.8 kB / 378 MB, free: 5.445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.93e-05/0.02617, allocations: 30.95 kB / 378 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.02628, allocations: 104.5 kB / 378.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02628, allocations: 0 / 378.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.04802, allocations: 9.265 MB / 387.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.202, allocations: 3.984 kB / 387.4 MB, free: 11.99 MB / 314.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestStandardPatient_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestStandardPatient.fmu > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.867381201125681] Failed to read output from testmodel.py, exit status != 0: 8.294115034863353 8.307909164 8.298599834000001 Calling exit ...