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/package.mo", uses=false) 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.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: translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 108.5 kB / 16.36 MB, free: 6.285 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.001035/0.001036, allocations: 192 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008447/0.008448, allocations: 1.939 MB / 272.5 MB, free: 10.08 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.001383/0.001383, allocations: 79.81 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1653, allocations: 47.12 MB / 378.4 MB, free: 53.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003236/0.1686, allocations: 3.44 MB / 381.8 MB, free: 52.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1697, allocations: 0.9316 MB / 382.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1698, allocations: 5.156 kB / 382.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1699, allocations: 57.67 kB / 382.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1702, allocations: 155.3 kB / 383 MB, free: 51.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1705, allocations: 151.1 kB / 383.1 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.171, allocations: 0.5668 MB / 383.7 MB, free: 51.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1712, allocations: 135.7 kB / 383.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1714, allocations: 201.3 kB / 384 MB, free: 51.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1716, allocations: 220.5 kB / 384.2 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.1717, allocations: 47.75 kB / 384.3 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1718, allocations: 72.88 kB / 384.4 MB, free: 51.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.1719, allocations: 97.62 kB / 384.5 MB, free: 50.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.172, allocations: 233.9 kB / 384.7 MB, free: 50.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.1725, allocations: 0.5098 MB / 385.2 MB, free: 50.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1725, allocations: 1.734 kB / 385.2 MB, free: 50.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1725, allocations: 3.938 kB / 385.2 MB, free: 50.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1725, allocations: 0 / 385.2 MB, free: 50.62 MB / 318.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.001088/0.1736, allocations: 0.7413 MB / 385.9 MB, free: 50.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1736, allocations: 11.11 kB / 385.9 MB, free: 50.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.1737, allocations: 48.41 kB / 386 MB, free: 50 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.174, allocations: 311.3 kB / 386.3 MB, free: 49.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.174, allocations: 23.8 kB / 386.3 MB, free: 49.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.1741, allocations: 34.78 kB / 386.4 MB, free: 49.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.1746, allocations: 322.4 kB / 386.7 MB, free: 49.56 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1746, allocations: 0 / 386.7 MB, free: 49.56 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.1747, allocations: 12.09 kB / 386.7 MB, free: 49.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1747, allocations: 7.219 kB / 386.7 MB, free: 49.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.1752, allocations: 258.4 kB / 386.9 MB, free: 49.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1768, allocations: 1.13 MB / 388.1 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.1775, allocations: 281.9 kB / 388.3 MB, free: 48.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.1777, allocations: 120.9 kB / 388.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1778, allocations: 4.062 kB / 388.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.1781, allocations: 163.2 kB / 388.6 MB, free: 48.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.1781, allocations: 4 kB / 388.6 MB, free: 48.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.0026/0.1807, allocations: 0.6973 MB / 389.3 MB, free: 48.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1808, allocations: 56.14 kB / 389.4 MB, free: 48.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.1811, allocations: 353.7 kB / 389.7 MB, free: 47.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1811, allocations: 31.86 kB / 389.8 MB, free: 47.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.1812, allocations: 203.2 kB / 390 MB, free: 47.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.1813, allocations: 81.69 kB / 390 MB, free: 47.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.1814, allocations: 69.64 kB / 390.1 MB, free: 47.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.1814, allocations: 351.4 kB / 390.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1817, allocations: 101.5 kB / 390.5 MB, free: 47.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.1819, allocations: 160.3 kB / 390.7 MB, free: 47.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.1824, allocations: 283.6 kB / 391 MB, free: 47.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1824, allocations: 1.25 kB / 391 MB, free: 47.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006981/0.1831, allocations: 418.7 kB / 391.4 MB, free: 46.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1831, allocations: 40.23 kB / 391.4 MB, free: 46.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1831, allocations: 2.75 kB / 391.4 MB, free: 46.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.1848, allocations: 229.9 kB / 391.7 MB, free: 46.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.185, allocations: 44.03 kB / 391.7 MB, free: 46.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005062/0.1855, allocations: 0.6947 MB / 392.4 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1858, allocations: 42.38 kB / 392.4 MB, free: 46.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.1858, allocations: 10.39 kB / 392.4 MB, free: 46.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002859/0.1861, allocations: 212.5 kB / 392.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002247/0.1863, allocations: 157.1 kB / 392.8 MB, free: 45.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004092/0.1868, allocations: 271 kB / 393.1 MB, free: 45.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.1868, allocations: 1.25 kB / 393.1 MB, free: 45.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009249/0.1877, allocations: 438.8 kB / 393.5 MB, free: 45.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1877, allocations: 33.47 kB / 393.5 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1877, allocations: 6.828 kB / 393.5 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.1881, allocations: 102.4 kB / 393.6 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.1883, allocations: 48 kB / 393.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.1901, allocations: 2.094 MB / 395.8 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.1903, allocations: 30.8 kB / 395.8 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1904, allocations: 15.2 kB / 395.8 MB, free: 43.55 MB / 318.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 7.734e-05/0.1904, allocations: 200.1 kB / 396 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.1905, allocations: 34.91 kB / 396.1 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009906/0.1915, allocations: 402.5 kB / 396.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1915, allocations: 1.781 kB / 396.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1915, allocations: 2.344 kB / 396.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1915, allocations: 1.406 kB / 396.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1918, allocations: 392.2 kB / 396.8 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1919, allocations: 3.234 kB / 396.8 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.192, allocations: 34.38 kB / 396.9 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009871/0.193, allocations: 187.2 kB / 397.1 MB, free: 42.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.1931, allocations: 11.39 kB / 397.1 MB, free: 42.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004261/0.1935, allocations: 0.69 MB / 397.8 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1935, allocations: 0 / 397.8 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.1946, allocations: 0.5204 MB / 398.3 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1948, allocations: 157.4 kB / 398.4 MB, free: 41.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.1948, allocations: 5.312 kB / 398.4 MB, free: 41.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.195, allocations: 15.42 kB / 398.5 MB, free: 41.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.1951, allocations: 22.02 kB / 398.5 MB, free: 41.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1951, allocations: 7.656 kB / 398.5 MB, free: 41.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.1954, allocations: 250.8 kB / 398.7 MB, free: 41.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1954, allocations: 0 / 398.7 MB, free: 41.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.1959, allocations: 177.1 kB / 398.9 MB, free: 41.65 MB / 318.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 9.762e-05/0.196, allocations: 108.2 kB / 399 MB, free: 41.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.1973, allocations: 0.6814 MB / 399.7 MB, free: 41.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1973, allocations: 3.938 kB / 399.7 MB, free: 41.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.1976, allocations: 140.8 kB / 399.8 MB, free: 41.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.198, allocations: 50.16 kB / 399.9 MB, free: 41.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1991, allocations: 0.8317 MB / 400.7 MB, free: 40.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.1993, allocations: 0.7949 MB / 401.5 MB, free: 39.9 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1995, allocations: 29.08 kB / 401.5 MB, free: 39.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.1995, allocations: 24.36 kB / 401.6 MB, free: 39.89 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1995, allocations: 4 kB / 401.6 MB, free: 39.88 MB / 318.1 MB Notification: Performance of Templates: time 0.008329/0.2079, allocations: 5.331 MB / 406.9 MB, free: 37.85 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile (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 & ./MEV_MEV.Test.TestStandardPatient -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)