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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01542/0.01542, allocations: 1.928 MB / 272.3 MB, free: 3.41 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005168, allocations: 16.22 kB / 331 MB, free: 33.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1552, allocations: 48.09 MB / 379 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.005098/0.1603, allocations: 3.373 MB / 382.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1625, allocations: 1.057 MB / 383.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1627, allocations: 4 kB / 383.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1629, allocations: 71.44 kB / 383.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.1633, allocations: 255.2 kB / 383.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1637, allocations: 95.77 kB / 383.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.1642, allocations: 375.2 kB / 384.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1644, allocations: 102.1 kB / 384.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1646, allocations: 159.4 kB / 384.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1648, allocations: 179.2 kB / 384.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.1649, allocations: 20 kB / 384.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.165, allocations: 47.97 kB / 384.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.1651, allocations: 55.75 kB / 384.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1652, allocations: 113.5 kB / 384.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.1655, allocations: 371.1 kB / 385.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1656, allocations: 0 / 385.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1656, allocations: 0 / 385.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1656, allocations: 0 / 385.3 MB, free: 10.86 MB / 286.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.001199/0.1668, allocations: 0.6815 MB / 386 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1668, allocations: 8.031 kB / 386 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1669, allocations: 66.53 kB / 386 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.167, allocations: 43.53 kB / 386.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1674, allocations: 298.3 kB / 386.4 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1675, allocations: 32.61 kB / 386.4 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1676, allocations: 36 kB / 386.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.1683, allocations: 310 kB / 386.7 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1683, allocations: 0 / 386.7 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.1684, allocations: 12 kB / 386.8 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1684, allocations: 8 kB / 386.8 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.1689, allocations: 274.4 kB / 387 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.1708, allocations: 1.142 MB / 388.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.1715, allocations: 286.8 kB / 388.5 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1716, allocations: 8 kB / 388.5 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.172, allocations: 164.2 kB / 388.6 MB, free: 7.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.172, allocations: 0 / 388.6 MB, free: 7.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002692/0.1747, allocations: 0.7101 MB / 389.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1748, allocations: 59.39 kB / 389.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.1752, allocations: 357.5 kB / 389.7 MB, free: 6.164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.1752, allocations: 29.7 kB / 389.8 MB, free: 6.129 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1754, allocations: 196.4 kB / 390 MB, free: 5.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.1754, allocations: 86.75 kB / 390 MB, free: 5.848 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.1755, allocations: 4 kB / 390 MB, free: 5.844 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1756, allocations: 346.8 kB / 390.4 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1759, allocations: 99.95 kB / 390.5 MB, free: 5.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.1762, allocations: 161.4 kB / 390.6 MB, free: 5.219 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1765, allocations: 149.6 kB / 390.8 MB, free: 5.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1765, allocations: 4 kB / 390.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007743/0.1773, allocations: 415.6 kB / 391.2 MB, free: 4.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003645/0.1777, allocations: 0.6415 MB / 391.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1777, allocations: 4 kB / 391.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.1794, allocations: 224.6 kB / 392.1 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1796, allocations: 51.91 kB / 392.1 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006652/0.1803, allocations: 0.7004 MB / 392.8 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.1806, allocations: 43.7 kB / 392.9 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1806, allocations: 15.98 kB / 392.9 MB, free: 2.883 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.577e-06/0.1806, allocations: 6.969 kB / 392.9 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009072/0.1815, allocations: 398.4 kB / 393.3 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1816, allocations: 8 kB / 393.3 MB, free: 2.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.1819, allocations: 100.7 kB / 393.4 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1822, allocations: 51.91 kB / 393.4 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.1846, allocations: 1.929 MB / 395.4 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1849, allocations: 39.67 kB / 395.4 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1849, allocations: 12 kB / 395.4 MB, free: 212 kB / 286.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 ($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.0002731/0.1852, allocations: 237.1 kB / 395.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1852, allocations: 35.53 kB / 395.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.1862, allocations: 404.7 kB / 396.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1863, allocations: 4 kB / 396.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1863, allocations: 3.953 kB / 396.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1863, allocations: 3.984 kB / 396.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1867, allocations: 397 kB / 396.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1867, allocations: 0 / 396.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1869, allocations: 31.98 kB / 396.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.188, allocations: 208.7 kB / 396.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.188, allocations: 4 kB / 396.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005524/0.1886, allocations: 0.7084 MB / 397.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1886, allocations: 0 / 397.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.1898, allocations: 0.5168 MB / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.19, allocations: 152.6 kB / 398.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.19, allocations: 12 kB / 398.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1902, allocations: 19.98 kB / 398.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.1903, allocations: 27.92 kB / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1903, allocations: 11.92 kB / 398.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.1906, allocations: 247.2 kB / 398.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.274e-06/0.1906, allocations: 0 / 398.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005529/0.1912, allocations: 179.6 kB / 398.6 MB, free: 12.91 MB / 302.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 (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.001504/0.1927, allocations: 1.07 MB / 399.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.194, allocations: 0.6775 MB / 400.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.194, allocations: 128 / 400.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.1944, allocations: 143.9 kB / 400.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1946, allocations: 33.55 kB / 400.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.1982, allocations: 3.183 MB / 403.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1986, allocations: 0.8035 MB / 404.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.1987, allocations: 26.97 kB / 404.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1989, allocations: 99.41 kB / 404.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1989, allocations: 0 / 404.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2199, allocations: 7.961 MB / 412.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.2201, allocations: 170.6 kB / 412.7 MB, free: 14.49 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.361, allocations: 4 kB / 412.7 MB, free: 14.49 MB / 318.1 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) Environment - environmentSimulation: