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.001165/0.001165, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001071/0.001071, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.126/1.126, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007794/0.007794, allocations: 1.928 MB / 272.4 MB, free: 10.15 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.001375/0.001375, allocations: 75.91 kB / 330.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06532/0.06671, allocations: 47.12 MB / 377.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.1123/0.179, allocations: 3.443 MB / 381.1 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1804, allocations: 0.9242 MB / 382 MB, free: 51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1806, allocations: 5 kB / 382 MB, free: 51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1808, allocations: 59.52 kB / 382.1 MB, free: 51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.1811, allocations: 150 kB / 382.2 MB, free: 50.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1814, allocations: 158.7 kB / 382.4 MB, free: 50.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1818, allocations: 0.5602 MB / 382.9 MB, free: 50.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.182, allocations: 142.5 kB / 383.1 MB, free: 50.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1822, allocations: 196 kB / 383.3 MB, free: 50.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.1824, allocations: 221.1 kB / 383.5 MB, free: 50.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.1825, allocations: 47.22 kB / 383.5 MB, free: 50.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1826, allocations: 70.59 kB / 383.6 MB, free: 50.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.1827, allocations: 99.03 kB / 383.7 MB, free: 50.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1829, allocations: 232.7 kB / 383.9 MB, free: 50.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.1833, allocations: 0.5036 MB / 384.4 MB, free: 50.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1833, allocations: 1.156 kB / 384.4 MB, free: 50.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1833, allocations: 0.5312 kB / 384.4 MB, free: 50.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.1833, allocations: 1.781 kB / 384.4 MB, free: 50.43 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.001055/0.1844, allocations: 0.7401 MB / 385.2 MB, free: 49.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.1844, allocations: 12.47 kB / 385.2 MB, free: 49.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.1845, allocations: 50.16 kB / 385.2 MB, free: 49.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1847, allocations: 305 kB / 385.5 MB, free: 49.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1848, allocations: 29.84 kB / 385.5 MB, free: 49.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.1848, allocations: 35.84 kB / 385.6 MB, free: 49.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.1854, allocations: 314.7 kB / 385.9 MB, free: 49.37 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1854, allocations: 3.531 kB / 385.9 MB, free: 49.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.1854, allocations: 15.89 kB / 385.9 MB, free: 49.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1854, allocations: 8.031 kB / 385.9 MB, free: 49.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.1859, allocations: 258.2 kB / 386.2 MB, free: 49.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1875, allocations: 1.139 MB / 387.3 MB, free: 48.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.1882, allocations: 277.5 kB / 387.6 MB, free: 48.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.1884, allocations: 129 kB / 387.7 MB, free: 48.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1884, allocations: 4.156 kB / 387.7 MB, free: 48.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.1888, allocations: 161.4 kB / 387.9 MB, free: 48.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1888, allocations: 0 / 387.9 MB, free: 48.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002499/0.1913, allocations: 0.7069 MB / 388.6 MB, free: 48.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1913, allocations: 55.52 kB / 388.6 MB, free: 47.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.1916, allocations: 345.1 kB / 389 MB, free: 47.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1917, allocations: 32.89 kB / 389 MB, free: 47.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.1918, allocations: 200.2 kB / 389.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1918, allocations: 85.36 kB / 389.3 MB, free: 47.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.1919, allocations: 73.45 kB / 389.3 MB, free: 47.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.192, allocations: 344.1 kB / 389.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1922, allocations: 105.8 kB / 389.8 MB, free: 47.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.1924, allocations: 160.2 kB / 389.9 MB, free: 47.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.1929, allocations: 290.8 kB / 390.2 MB, free: 46.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1929, allocations: 0 / 390.2 MB, free: 46.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006763/0.1936, allocations: 427 kB / 390.6 MB, free: 46.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1936, allocations: 32.42 kB / 390.7 MB, free: 46.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1936, allocations: 2.75 kB / 390.7 MB, free: 46.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.1952, allocations: 237.2 kB / 390.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.1954, allocations: 47.2 kB / 390.9 MB, free: 46.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004791/0.1959, allocations: 0.6889 MB / 391.6 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.1962, allocations: 43.39 kB / 391.7 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.1962, allocations: 13.78 kB / 391.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002702/0.1965, allocations: 207.3 kB / 391.9 MB, free: 45.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002155/0.1967, allocations: 151.8 kB / 392 MB, free: 45.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003853/0.1971, allocations: 275.6 kB / 392.3 MB, free: 45.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.1971, allocations: 0 / 392.3 MB, free: 45.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008656/0.198, allocations: 439.2 kB / 392.7 MB, free: 45.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.198, allocations: 32.98 kB / 392.8 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.198, allocations: 6.438 kB / 392.8 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.1984, allocations: 100.5 kB / 392.9 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.1986, allocations: 50.94 kB / 392.9 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.2002, allocations: 2.094 MB / 395 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.2005, allocations: 26.84 kB / 395 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.2005, allocations: 13.22 kB / 395.1 MB, free: 43.36 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.506e-05/0.2006, allocations: 201 kB / 395.3 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.2006, allocations: 35.7 kB / 395.3 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009137/0.2016, allocations: 396.5 kB / 395.7 MB, free: 42.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2016, allocations: 10.62 kB / 395.7 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.2016, allocations: 0 / 395.7 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2016, allocations: 1.5 kB / 395.7 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.2019, allocations: 397.4 kB / 396.1 MB, free: 42.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2019, allocations: 0.5156 kB / 396.1 MB, free: 42.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.2021, allocations: 26.7 kB / 396.1 MB, free: 42.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009336/0.203, allocations: 195.5 kB / 396.3 MB, free: 42.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.203, allocations: 10.55 kB / 396.3 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004218/0.2035, allocations: 0.6846 MB / 397 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2035, allocations: 0 / 397 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2046, allocations: 0.5246 MB / 397.5 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.2047, allocations: 155.6 kB / 397.7 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.2047, allocations: 6.812 kB / 397.7 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.205, allocations: 19.12 kB / 397.7 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.205, allocations: 22.08 kB / 397.7 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.205, allocations: 13.48 kB / 397.7 MB, free: 41.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.2053, allocations: 251.4 kB / 398 MB, free: 41.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2053, allocations: 0 / 398 MB, free: 41.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.2057, allocations: 174 kB / 398.1 MB, free: 41.45 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 0.0001004/0.2059, allocations: 102.2 kB / 398.2 MB, free: 41.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.2071, allocations: 0.6942 MB / 398.9 MB, free: 40.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2072, allocations: 0 / 398.9 MB, free: 40.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.2075, allocations: 143.4 kB / 399.1 MB, free: 40.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2078, allocations: 45.09 kB / 399.1 MB, free: 40.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.209, allocations: 0.8667 MB / 400 MB, free: 40.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.2092, allocations: 0.7941 MB / 400.8 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.2092, allocations: 25.11 kB / 400.8 MB, free: 39.65 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2092, allocations: 0 / 400.8 MB, free: 39.65 MB / 318.1 MB Notification: Performance of Templates: time 0.006198/0.2154, allocations: 5.437 MB / 406.2 MB, free: 37.62 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 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)