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.001546/0.001546, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002103/0.002103, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.389/1.389, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.008817/0.008817, allocations: 1.962 MB / 288 MB, free: 3.945 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.002063/0.002063, allocations: 73.03 kB / 402.6 MB, free: 50.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07294/0.075, allocations: 49.7 MB / 452.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003366/0.07837, allocations: 3.465 MB / 455.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.07963, allocations: 0.9394 MB / 456.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.07976, allocations: 8 kB / 456.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.07986, allocations: 63.41 kB / 456.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.08011, allocations: 154.7 kB / 456.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.08045, allocations: 155.7 kB / 457 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.08082, allocations: 0.5677 MB / 457.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.081, allocations: 93.02 kB / 457.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.08116, allocations: 211.3 kB / 457.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.08137, allocations: 215 kB / 458.1 MB, free: 384 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.08141, allocations: 48 kB / 458.2 MB, free: 336 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.08152, allocations: 75.97 kB / 458.2 MB, free: 260 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.08157, allocations: 95.67 kB / 458.3 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.08175, allocations: 235 kB / 458.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.08232, allocations: 0.5136 MB / 459.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.08232, allocations: 4 kB / 459.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08232, allocations: 0 / 459.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.08233, allocations: 0 / 459.1 MB, free: 15.41 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.001316/0.08365, allocations: 0.6722 MB / 459.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.08369, allocations: 11.98 kB / 459.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.702e-05/0.08371, allocations: 12.84 kB / 459.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.098e-05/0.08379, allocations: 66.66 kB / 459.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.608e-05/0.08387, allocations: 52.66 kB / 459.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.08423, allocations: 253.2 kB / 460.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.08425, allocations: 25.03 kB / 460.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.08432, allocations: 32.38 kB / 460.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.08494, allocations: 326 kB / 460.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.08495, allocations: 3.938 kB / 460.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.08499, allocations: 12 kB / 460.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.085, allocations: 8 kB / 460.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.08557, allocations: 250.5 kB / 460.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.08746, allocations: 1.107 MB / 461.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.08818, allocations: 266.9 kB / 462.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.08844, allocations: 116.7 kB / 462.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.08847, allocations: 0 / 462.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.08888, allocations: 167.2 kB / 462.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.08888, allocations: 3.938 kB / 462.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002654/0.09154, allocations: 0.6163 MB / 463 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.09158, allocations: 55.41 kB / 463.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.09198, allocations: 353.6 kB / 463.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.09202, allocations: 29.7 kB / 463.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.09217, allocations: 208.5 kB / 463.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/0.09225, allocations: 87.22 kB / 463.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.09237, allocations: 65.66 kB / 463.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.09252, allocations: 346.8 kB / 464.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.09279, allocations: 108.8 kB / 464.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.09308, allocations: 157.7 kB / 464.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.09361, allocations: 283.6 kB / 464.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.09361, allocations: 4 kB / 464.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007979/0.09441, allocations: 415.8 kB / 465.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.09445, allocations: 29.7 kB / 465.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.09446, allocations: 4 kB / 465.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.09608, allocations: 232.8 kB / 465.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.09627, allocations: 47.91 kB / 465.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/0.09699, allocations: 0.6927 MB / 466.1 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.09727, allocations: 43.86 kB / 466.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.09731, allocations: 15.98 kB / 466.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003418/0.09765, allocations: 208.1 kB / 466.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002712/0.09792, allocations: 149.6 kB / 466.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004807/0.0984, allocations: 275.8 kB / 466.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.0984, allocations: 4 kB / 466.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009756/0.09938, allocations: 431.7 kB / 467.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.09942, allocations: 45.62 kB / 467.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.09942, allocations: 3.984 kB / 467.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.09982, allocations: 104.7 kB / 467.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.1, allocations: 47.91 kB / 467.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.1024, allocations: 2 MB / 469.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.1027, allocations: 35.77 kB / 469.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1027, allocations: 12 kB / 469.5 MB, free: 4.516 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.0001719/0.1029, allocations: 196.3 kB / 469.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.1029, allocations: 39.7 kB / 469.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.104, allocations: 390.5 kB / 470.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.104, allocations: 4 kB / 470.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.104, allocations: 3.984 kB / 470.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.104, allocations: 0 / 470.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1045, allocations: 368.3 kB / 470.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1045, allocations: 0 / 470.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1047, allocations: 31.92 kB / 470.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.1057, allocations: 192.6 kB / 470.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.1057, allocations: 4 kB / 470.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006261/0.1063, allocations: 0.6969 MB / 471.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1063, allocations: 0 / 471.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.1076, allocations: 0.5132 MB / 471.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.1077, allocations: 71.89 kB / 471.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.1078, allocations: 4 kB / 471.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.108, allocations: 19.92 kB / 472 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.1081, allocations: 27.95 kB / 472 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1081, allocations: 8 kB / 472 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.1084, allocations: 251.2 kB / 472.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1084, allocations: 0 / 472.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005782/0.1089, allocations: 179.7 kB / 472.4 MB, free: 1.449 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.001603/0.1105, allocations: 1.046 MB / 473.5 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.1121, allocations: 0.6653 MB / 474.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1121, allocations: 3.938 kB / 474.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.1125, allocations: 133.1 kB / 474.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1128, allocations: 45.42 kB / 474.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.118, allocations: 3.554 MB / 477.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1184, allocations: 0.7915 MB / 478.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.1186, allocations: 30.95 kB / 478.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.1187, allocations: 103.4 kB / 478.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1187, allocations: 4 kB / 478.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.1505, allocations: 9.342 MB / 488.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/12.94, allocations: 15.95 kB / 488.1 MB, free: 1.438 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.492904101032764] Failed to read output from testmodel.py, exit status != 0: 13.110636729048565 13.127278656 13.041815259 Calling exit ...