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.00105/0.00105, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.001391, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.32/1.32, allocations: 205.4 MB / 223.1 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009373/0.009373, allocations: 1.924 MB / 273.3 MB, free: 3.312 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.0004872/0.0004872, allocations: 12.22 kB / 332.1 MB, free: 33.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06916/0.06966, allocations: 48.1 MB / 380.2 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.00368/0.07337, allocations: 3.907 MB / 384.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.07491, allocations: 1.049 MB / 385.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.07506, allocations: 4 kB / 385.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.278e-05/0.07515, allocations: 43.66 kB / 385.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.07544, allocations: 130.9 kB / 385.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.07578, allocations: 135.8 kB / 385.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.07625, allocations: 0.521 MB / 386 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.07648, allocations: 128.1 kB / 386.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.07668, allocations: 167.3 kB / 386.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.07692, allocations: 183.1 kB / 386.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.07697, allocations: 23.98 kB / 386.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.07709, allocations: 43.97 kB / 386.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.07716, allocations: 71.62 kB / 386.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.07736, allocations: 220.7 kB / 386.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.07772, allocations: 379 kB / 387.2 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.07773, allocations: 4 kB / 387.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.07774, allocations: 0 / 387.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.07775, allocations: 3.938 kB / 387.2 MB, free: 9.828 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.001146/0.07891, allocations: 0.6699 MB / 387.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.07895, allocations: 12.03 kB / 387.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.07904, allocations: 44.47 kB / 387.9 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.07937, allocations: 307.4 kB / 388.2 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.07941, allocations: 21.03 kB / 388.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.07948, allocations: 36.38 kB / 388.3 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.0801, allocations: 322.3 kB / 388.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.08012, allocations: 0 / 388.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.08017, allocations: 16 kB / 388.6 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.08018, allocations: 8 kB / 388.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.0808, allocations: 266.5 kB / 388.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.08267, allocations: 1.153 MB / 390.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.08343, allocations: 286.9 kB / 390.3 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.08371, allocations: 127.2 kB / 390.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.08376, allocations: 11.98 kB / 390.5 MB, free: 6.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.08415, allocations: 160.2 kB / 390.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.08417, allocations: 0 / 390.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002949/0.08712, allocations: 0.7256 MB / 391.4 MB, free: 5.488 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.08718, allocations: 59.39 kB / 391.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.08755, allocations: 357.5 kB / 391.8 MB, free: 5.059 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.08759, allocations: 33.7 kB / 391.8 MB, free: 5.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.08773, allocations: 200.2 kB / 392 MB, free: 4.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.08781, allocations: 82.81 kB / 392.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.08787, allocations: 37.69 kB / 392.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.08799, allocations: 342.8 kB / 392.4 MB, free: 4.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.08827, allocations: 103.9 kB / 392.5 MB, free: 4.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.08857, allocations: 169.4 kB / 392.7 MB, free: 4.062 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.08914, allocations: 303.6 kB / 393 MB, free: 3.738 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.08915, allocations: 0 / 393 MB, free: 3.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000824/0.08998, allocations: 427.6 kB / 393.4 MB, free: 3.305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.09009, allocations: 164 kB / 393.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.0901, allocations: 3.984 kB / 393.6 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/0.09194, allocations: 244.5 kB / 393.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.09217, allocations: 47.91 kB / 393.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006805/0.09286, allocations: 0.6851 MB / 394.6 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.09318, allocations: 43.58 kB / 394.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.09321, allocations: 15.92 kB / 394.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/0.09323, allocations: 7.281 kB / 394.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/0.09426, allocations: 414.5 kB / 395 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.09428, allocations: 7.922 kB / 395 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.09469, allocations: 104.8 kB / 395.1 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.09492, allocations: 51.91 kB / 395.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.09704, allocations: 1.897 MB / 397.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.09732, allocations: 47.58 kB / 397.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.09735, allocations: 8 kB / 397.1 MB, free: 15.38 MB / 302.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 0.000194/0.09755, allocations: 237 kB / 397.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.09761, allocations: 35.69 kB / 397.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.09872, allocations: 404.8 kB / 397.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.09874, allocations: 7.984 kB / 397.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.09875, allocations: 3.938 kB / 397.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.09876, allocations: 0 / 397.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.09915, allocations: 397 kB / 398.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.09916, allocations: 4 kB / 398.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.09936, allocations: 31.98 kB / 398.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.1006, allocations: 208.7 kB / 398.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.1006, allocations: 4.188 kB / 398.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000583/0.1012, allocations: 0.7044 MB / 399.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1012, allocations: 3.938 kB / 399.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1025, allocations: 0.5208 MB / 399.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1027, allocations: 152.6 kB / 399.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.1028, allocations: 4 kB / 399.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.103, allocations: 23.92 kB / 399.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.1031, allocations: 19.97 kB / 399.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1031, allocations: 11.98 kB / 399.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.1033, allocations: 247.2 kB / 400.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1033, allocations: 0 / 400.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.1039, allocations: 175.7 kB / 400.3 MB, free: 12.09 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 (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.0001337/0.104, allocations: 115.3 kB / 400.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.1055, allocations: 0.6966 MB / 401.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1055, allocations: 0 / 401.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.1059, allocations: 143.9 kB / 401.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1063, allocations: 49.77 kB / 401.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1078, allocations: 1.073 MB / 402.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1081, allocations: 0.7918 MB / 403.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1082, allocations: 23.44 kB / 403.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of SimCode: time 2.514e-06/0.1082, allocations: 0 / 403.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of Templates: time 0.007328/0.1155, allocations: 5.394 MB / 408.6 MB, free: 3.703 MB / 302.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)