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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008235/0.008235, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01359/0.01359, allocations: 1.932 MB / 17.79 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 224.4 MB, free: 11.99 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009298, allocations: 90.14 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 12.22 kB / 331.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 48.09 MB / 380 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4517, allocations: 77.74 MB / 457.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.452, allocations: 71.97 kB / 457.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02058/0.4726, allocations: 7.41 MB / 465.2 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4727, allocations: 0 / 465.2 MB, free: 2.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.4727, allocations: 12 kB / 465.3 MB, free: 2.254 MB / 330.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.001174/0.4739, allocations: 0.6623 MB / 465.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4739, allocations: 8.031 kB / 465.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.062e-05/0.474, allocations: 70.53 kB / 466 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.4741, allocations: 39.53 kB / 466 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.4745, allocations: 302.4 kB / 466.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.4745, allocations: 32.61 kB / 466.4 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.4746, allocations: 32 kB / 466.4 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.4753, allocations: 314 kB / 466.7 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4753, allocations: 4 kB / 466.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.4753, allocations: 15.94 kB / 466.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4754, allocations: 8 kB / 466.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.476, allocations: 266.5 kB / 467 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.478, allocations: 1.126 MB / 468.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.4788, allocations: 284 kB / 468.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.4788, allocations: 4 kB / 468.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004649/0.4793, allocations: 172.1 kB / 468.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.175e-06/0.4793, allocations: 0 / 468.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.002637/0.4819, allocations: 0.6555 MB / 469.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.482, allocations: 59.36 kB / 469.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.4824, allocations: 291.7 kB / 469.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4824, allocations: 33.7 kB / 469.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.4826, allocations: 196.2 kB / 469.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.4827, allocations: 82.81 kB / 469.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.4827, allocations: 4 kB / 469.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4829, allocations: 354.7 kB / 470.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.4832, allocations: 95.7 kB / 470.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.4835, allocations: 165.6 kB / 470.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.4837, allocations: 141.6 kB / 470.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4838, allocations: 0 / 470.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008372/0.4846, allocations: 415.6 kB / 471 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.485, allocations: 0.6453 MB / 471.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.485, allocations: 3.953 kB / 471.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.4866, allocations: 192.6 kB / 471.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.4868, allocations: 55.91 kB / 471.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007851/0.4876, allocations: 0.6773 MB / 472.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.488, allocations: 51.5 kB / 472.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.488, allocations: 12 kB / 472.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.488, allocations: 7.938 kB / 472.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/0.4891, allocations: 406.6 kB / 473 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4891, allocations: 4 kB / 473.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.4895, allocations: 92.78 kB / 473.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.4897, allocations: 55.91 kB / 473.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.4924, allocations: 1.94 MB / 475.1 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.4927, allocations: 43.73 kB / 475.2 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.4927, allocations: 8 kB / 475.2 MB, free: 7.793 MB / 346.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 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.493, allocations: 241 kB / 475.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.4931, allocations: 31.62 kB / 475.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009124/0.494, allocations: 385.5 kB / 475.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.494, allocations: 7.984 kB / 475.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.494, allocations: 0 / 475.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4941, allocations: 3.953 kB / 475.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.4945, allocations: 396.9 kB / 476.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4945, allocations: 0 / 476.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.4947, allocations: 31.98 kB / 476.3 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.496, allocations: 196.7 kB / 476.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.496, allocations: 8 kB / 476.5 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006497/0.4967, allocations: 0.7045 MB / 477.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4967, allocations: 0 / 477.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.4978, allocations: 0.4935 MB / 477.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.498, allocations: 144.6 kB / 477.8 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.498, allocations: 4 kB / 477.8 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.4982, allocations: 24.23 kB / 477.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.4983, allocations: 23.95 kB / 477.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.4984, allocations: 8 kB / 477.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.4986, allocations: 235.1 kB / 478.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.985e-06/0.4987, allocations: 0 / 478.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006231/0.4993, allocations: 187.6 kB / 478.3 MB, free: 4.566 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/0.5007, allocations: 1.056 MB / 479.3 MB, free: 3.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.5024, allocations: 0.6973 MB / 480 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5024, allocations: 0 / 480 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.5028, allocations: 148.3 kB / 480.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.5032, allocations: 34.78 kB / 480.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.5075, allocations: 3.171 MB / 483.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.5079, allocations: 0.7995 MB / 484.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.5081, allocations: 26.97 kB / 484.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.5083, allocations: 103.4 kB / 484.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.5083, allocations: 0 / 484.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.5324, allocations: 7.815 MB / 492.1 MB, free: 6.539 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.5327, allocations: 172.1 kB / 492.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.736, allocations: 4 kB / 492.3 MB, free: 6.293 MB / 362.7 MB (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/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestStandardPatient_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestStandardPatient.fmu > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)