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.001277/0.001277, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002159/0.002159, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.363/1.363, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.008617/0.008617, allocations: 1.962 MB / 288.1 MB, free: 3.668 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="cs",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.002071/0.002071, allocations: 69.16 kB / 402.5 MB, free: 50.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.07959, allocations: 49.7 MB / 452.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003124/0.08271, allocations: 3.142 MB / 455.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.08386, allocations: 0.9044 MB / 456.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.08398, allocations: 4 kB / 456.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.568e-05/0.08408, allocations: 59.41 kB / 456.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.08433, allocations: 154.7 kB / 456.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.08468, allocations: 155.7 kB / 456.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.08507, allocations: 0.56 MB / 457.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.08524, allocations: 97.02 kB / 457.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.08541, allocations: 219.1 kB / 457.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.0856, allocations: 219.1 kB / 457.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.08565, allocations: 48 kB / 457.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.08577, allocations: 67.98 kB / 457.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.08583, allocations: 95.69 kB / 457.9 MB, free: 356 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.08597, allocations: 195.1 kB / 458.1 MB, free: 160 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.08652, allocations: 0.5137 MB / 458.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.08652, allocations: 0 / 458.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08652, allocations: 0 / 458.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.08653, allocations: 0 / 458.7 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.00134/0.08787, allocations: 0.6761 MB / 459.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.08792, allocations: 15.98 kB / 459.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.08794, allocations: 12.78 kB / 459.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.08801, allocations: 66.72 kB / 459.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.08811, allocations: 48.66 kB / 459.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.08848, allocations: 261.2 kB / 459.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.08851, allocations: 21.03 kB / 459.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.08859, allocations: 36.38 kB / 459.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.08923, allocations: 321.9 kB / 460.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.08924, allocations: 0 / 460.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.08928, allocations: 12 kB / 460.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.08929, allocations: 8 kB / 460.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.08987, allocations: 254.5 kB / 460.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.09174, allocations: 0.9945 MB / 461.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.09249, allocations: 274.8 kB / 461.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.09275, allocations: 112.7 kB / 461.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.09278, allocations: 0 / 461.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.09317, allocations: 175.2 kB / 461.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.09317, allocations: 0 / 461.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002817/0.09599, allocations: 0.6124 MB / 462.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.09604, allocations: 59.39 kB / 462.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.09646, allocations: 353.6 kB / 462.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.09649, allocations: 33.7 kB / 463 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.09667, allocations: 200.5 kB / 463.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.09675, allocations: 99.16 kB / 463.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.09688, allocations: 65.66 kB / 463.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.09705, allocations: 342.8 kB / 463.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.09734, allocations: 130.5 kB / 463.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.09766, allocations: 191.3 kB / 464 MB, free: 10.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.0982, allocations: 287.6 kB / 464.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.09821, allocations: 3.938 kB / 464.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00086/0.09907, allocations: 445.4 kB / 464.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.09911, allocations: 33.89 kB / 464.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.09911, allocations: 4 kB / 464.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.1009, allocations: 228.6 kB / 464.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.1011, allocations: 43.97 kB / 465 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007815/0.1018, allocations: 0.7006 MB / 465.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.1021, allocations: 35.77 kB / 465.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.1022, allocations: 12 kB / 465.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003739/0.1025, allocations: 241.8 kB / 466 MB, free: 7.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003/0.1028, allocations: 183.4 kB / 466.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004871/0.1033, allocations: 275.8 kB / 466.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.1033, allocations: 0 / 466.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001023/0.1044, allocations: 461.5 kB / 466.9 MB, free: 7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.1044, allocations: 37.64 kB / 466.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1044, allocations: 7.922 kB / 466.9 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.1048, allocations: 104.8 kB / 467 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.105, allocations: 51.91 kB / 467.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.1076, allocations: 1.957 MB / 469 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.1079, allocations: 35.77 kB / 469.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.1079, allocations: 12 kB / 469.1 MB, free: 4.676 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.0001761/0.1081, allocations: 200.3 kB / 469.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.1082, allocations: 39.7 kB / 469.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.1093, allocations: 402.6 kB / 469.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1093, allocations: 4 kB / 469.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1093, allocations: 0 / 469.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1093, allocations: 3.938 kB / 469.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.1097, allocations: 324.5 kB / 470 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1097, allocations: 0 / 470 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1099, allocations: 31.98 kB / 470.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.111, allocations: 184.6 kB / 470.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.111, allocations: 8 kB / 470.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000723/0.1117, allocations: 0.7007 MB / 470.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1117, allocations: 0 / 470.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.113, allocations: 0.5132 MB / 471.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1132, allocations: 75.78 kB / 471.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.1132, allocations: 11.98 kB / 471.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.1134, allocations: 11.98 kB / 471.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.1135, allocations: 23.91 kB / 471.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1135, allocations: 15.98 kB / 471.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.1139, allocations: 247.2 kB / 471.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1139, allocations: 0 / 471.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.1145, allocations: 183.7 kB / 472 MB, free: 1.629 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.001649/0.1162, allocations: 1.05 MB / 473.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1178, allocations: 0.72 MB / 473.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1178, allocations: 4.125 kB / 473.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.1182, allocations: 124.4 kB / 473.9 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.0003652/0.1186, allocations: 49.34 kB / 474 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.124, allocations: 3.673 MB / 477.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1242, allocations: 186.8 kB / 477.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.1243, allocations: 34.95 kB / 477.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.1245, allocations: 99.41 kB / 477.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of SimCode: time 1.333e-06/0.1245, allocations: 0 / 477.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.1568, allocations: 8.828 MB / 486.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.03, allocations: 11.92 kB / 486.8 MB, free: 2.539 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 & /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: 15.607558001065627] Failed to read output from testmodel.py, exit status != 0: 13.199108422035351 13.214742955 13.12532913 Calling exit ...