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.001015/0.001015, allocations: 108 kB / 15.61 MB, free: 152 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.001038/0.001038, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00826/0.00826, allocations: 1.928 MB / 271.7 MB, free: 3.328 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.001399/0.001399, allocations: 67.91 kB / 329.8 MB, free: 32.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.08076, allocations: 47.14 MB / 377 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.004903/0.08572, allocations: 3.429 MB / 380.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.08797, allocations: 0.9321 MB / 381.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.08827, allocations: 4 kB / 381.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.08843, allocations: 63.34 kB / 381.4 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.08881, allocations: 150.7 kB / 381.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.08927, allocations: 159.7 kB / 381.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.08979, allocations: 0.5446 MB / 382.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.09004, allocations: 152.3 kB / 382.4 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.09026, allocations: 199.3 kB / 382.6 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.09052, allocations: 219 kB / 382.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.09061, allocations: 48 kB / 382.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.09076, allocations: 75.97 kB / 382.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.09085, allocations: 95.67 kB / 383 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.09106, allocations: 230.9 kB / 383.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.09153, allocations: 0.5063 MB / 383.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09154, allocations: 0 / 383.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09155, allocations: 0 / 383.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.09157, allocations: 0 / 383.8 MB, free: 10.81 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.001266/0.09284, allocations: 0.74 MB / 384.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.09288, allocations: 8.031 kB / 384.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.09297, allocations: 48.38 kB / 384.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.09331, allocations: 307.4 kB / 384.8 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.09335, allocations: 25.03 kB / 384.9 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.09342, allocations: 40.31 kB / 384.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.09402, allocations: 318.3 kB / 385.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.09404, allocations: 0 / 385.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.09408, allocations: 12 kB / 385.2 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.0941, allocations: 8 kB / 385.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.0947, allocations: 258.5 kB / 385.5 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.09655, allocations: 1.142 MB / 386.6 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/0.0973, allocations: 278.8 kB / 386.9 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.09757, allocations: 116.8 kB / 387 MB, free: 7.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.09762, allocations: 8 kB / 387 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.09803, allocations: 164.2 kB / 387.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.09805, allocations: 0 / 387.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002827/0.1009, allocations: 0.7061 MB / 387.9 MB, free: 6.457 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1009, allocations: 51.41 kB / 387.9 MB, free: 6.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.1013, allocations: 361.6 kB / 388.3 MB, free: 6.031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1014, allocations: 33.7 kB / 388.3 MB, free: 5.992 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1015, allocations: 192.2 kB / 388.5 MB, free: 5.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.1016, allocations: 86.8 kB / 388.6 MB, free: 5.711 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1017, allocations: 69.59 kB / 388.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1018, allocations: 346.8 kB / 389 MB, free: 5.289 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.1021, allocations: 104.8 kB / 389.1 MB, free: 5.184 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.1024, allocations: 157.5 kB / 389.3 MB, free: 5.008 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/0.103, allocations: 295.5 kB / 389.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.103, allocations: 0 / 389.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008218/0.1038, allocations: 427.5 kB / 390 MB, free: 4.258 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.1039, allocations: 29.7 kB / 390 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1039, allocations: 4 kB / 390 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.1056, allocations: 232.8 kB / 390.2 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.1058, allocations: 47.91 kB / 390.3 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006667/0.1065, allocations: 0.6927 MB / 391 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.1068, allocations: 51.55 kB / 391 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1069, allocations: 11.98 kB / 391 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003427/0.1072, allocations: 216.1 kB / 391.2 MB, free: 2.945 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002595/0.1075, allocations: 146 kB / 391.4 MB, free: 2.781 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000482/0.108, allocations: 271.8 kB / 391.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.108, allocations: 0 / 391.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001011/0.109, allocations: 439.6 kB / 392.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.109, allocations: 33.7 kB / 392.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1091, allocations: 3.938 kB / 392.1 MB, free: 2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.1095, allocations: 108.8 kB / 392.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.1097, allocations: 43.92 kB / 392.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.112, allocations: 2.096 MB / 394.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.1123, allocations: 31.77 kB / 394.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1123, allocations: 8 kB / 394.4 MB, free: 15.58 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.0001278/0.1124, allocations: 196.2 kB / 394.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.1125, allocations: 43.52 kB / 394.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.1136, allocations: 394 kB / 395 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1136, allocations: 0 / 395 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.1136, allocations: 4 kB / 395 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1136, allocations: 4 kB / 395 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.114, allocations: 397 kB / 395.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.114, allocations: 0 / 395.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.1142, allocations: 31.91 kB / 395.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.1153, allocations: 200.7 kB / 395.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.1153, allocations: 15.88 kB / 395.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005854/0.1159, allocations: 0.6851 MB / 396.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1159, allocations: 0 / 396.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.1172, allocations: 0.5289 MB / 396.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.1174, allocations: 152.6 kB / 397 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.1174, allocations: 4 kB / 397 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1177, allocations: 15.98 kB / 397 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.1177, allocations: 23.97 kB / 397.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1178, allocations: 12 kB / 397.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.118, allocations: 251.2 kB / 397.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.118, allocations: 0 / 397.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005851/0.1186, allocations: 171.7 kB / 397.5 MB, free: 12.35 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.0001335/0.1188, allocations: 99.25 kB / 397.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.1203, allocations: 0.6923 MB / 398.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1203, allocations: 0 / 398.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.1207, allocations: 148.4 kB / 398.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.121, allocations: 45.3 kB / 398.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1225, allocations: 0.8342 MB / 399.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1228, allocations: 0.7915 MB / 400.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.123, allocations: 34.95 kB / 400.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.123, allocations: 27.36 kB / 400.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.123, allocations: 3.938 kB / 400.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of Templates: time 0.009769/0.1328, allocations: 5.312 MB / 405.5 MB, free: 4.277 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)