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.001055/0.001055, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007617/0.007618, allocations: 1.917 MB / 15.18 MB, free: 116 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.2 MB / 221.4 MB, free: 7.34 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.0007775/0.0007775, allocations: 89.31 kB / 270.1 MB, free: 7.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.726e-05, allocations: 4 kB / 326.1 MB, free: 15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 48.07 MB / 374.2 MB, free: 44.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.3855, allocations: 77.65 MB / 451.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.3859, allocations: 73.94 kB / 451.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02928/0.4152, allocations: 7.416 MB / 459.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4152, allocations: 0 / 459.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.345e-05/0.4153, allocations: 8 kB / 459.3 MB, free: 9.723 MB / 346.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.001383/0.4166, allocations: 0.6248 MB / 459.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.4167, allocations: 12.03 kB / 460 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.4168, allocations: 66.53 kB / 460 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.417, allocations: 39.53 kB / 460.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.4175, allocations: 306.3 kB / 460.4 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.4176, allocations: 28.73 kB / 460.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.4177, allocations: 32 kB / 460.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.4185, allocations: 291.7 kB / 460.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4185, allocations: 0 / 460.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.4186, allocations: 16 kB / 460.7 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4186, allocations: 12 kB / 460.7 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.4193, allocations: 227 kB / 460.9 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.422, allocations: 1.115 MB / 462.1 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.4228, allocations: 250.9 kB / 462.3 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.4231, allocations: 104.8 kB / 462.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.4232, allocations: 7.984 kB / 462.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.4236, allocations: 149.5 kB / 462.6 MB, free: 6.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 4.398e-06/0.4236, allocations: 3.984 kB / 462.6 MB, free: 6.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008166/0.4244, allocations: 270 kB / 462.8 MB, free: 6.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.4245, allocations: 59.39 kB / 462.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.425, allocations: 298.9 kB / 463.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.425, allocations: 32.23 kB / 463.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.4252, allocations: 196 kB / 463.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.4253, allocations: 82.75 kB / 463.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.4254, allocations: 8 kB / 463.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4255, allocations: 342.8 kB / 463.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.4258, allocations: 76 kB / 463.9 MB, free: 4.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.4261, allocations: 136.5 kB / 464 MB, free: 4.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.4264, allocations: 129.6 kB / 464.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4264, allocations: 0 / 464.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009786/0.4274, allocations: 375.6 kB / 464.5 MB, free: 4.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000318/0.4278, allocations: 0.6453 MB / 465.2 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4278, allocations: 0 / 465.2 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.4298, allocations: 202 kB / 465.4 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.4302, allocations: 47.91 kB / 465.4 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/0.4311, allocations: 0.6811 MB / 466.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.4316, allocations: 47.77 kB / 466.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.4317, allocations: 19.98 kB / 466.2 MB, free: 2.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4317, allocations: 4 kB / 466.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/0.433, allocations: 358.6 kB / 466.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.433, allocations: 0 / 466.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.4336, allocations: 96.73 kB / 466.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.4339, allocations: 59.86 kB / 466.7 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.4374, allocations: 1.894 MB / 468.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.4378, allocations: 47.62 kB / 468.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.4379, allocations: 16 kB / 468.6 MB, free: 15.91 MB / 362.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 () * 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.000162/0.438, allocations: 122.2 kB / 468.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.4381, allocations: 31.62 kB / 468.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.4392, allocations: 335.2 kB / 469.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.4393, allocations: 4 kB / 469.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.4393, allocations: 0 / 469.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4393, allocations: 7.938 kB / 469.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.4399, allocations: 389 kB / 469.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4399, allocations: 3.469 kB / 469.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.4402, allocations: 35.91 kB / 469.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.4419, allocations: 202.3 kB / 469.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.4419, allocations: 11.98 kB / 469.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000815/0.4427, allocations: 0.6968 MB / 470.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4428, allocations: 4 kB / 470.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.444, allocations: 453.5 kB / 470.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.4442, allocations: 144.7 kB / 471 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.4443, allocations: 8 kB / 471 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.4446, allocations: 20.05 kB / 471.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4447, allocations: 19.97 kB / 471.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.4447, allocations: 15.92 kB / 471.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003436/0.4451, allocations: 230.2 kB / 471.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4451, allocations: 0 / 471.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008909/0.446, allocations: 187.5 kB / 471.5 MB, free: 12.92 MB / 362.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) * 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.001647/0.4477, allocations: 0.9839 MB / 472.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.4494, allocations: 0.6444 MB / 473.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4494, allocations: 0 / 473.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.4499, allocations: 127.9 kB / 473.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4502, allocations: 38.73 kB / 473.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.4522, allocations: 0.6967 MB / 474 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.4526, allocations: 0.7924 MB / 474.8 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.453, allocations: 46.94 kB / 474.8 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.4532, allocations: 103.4 kB / 474.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4532, allocations: 0 / 474.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.4818, allocations: 8.094 MB / 483 MB, free: 1.316 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.4821, allocations: 141 kB / 483.2 MB, free: 1.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.544, allocations: 0 / 483.2 MB, free: 1.098 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)