Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package MEV with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009775/0.0009776, allocations: 176.4 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008591/0.008591, allocations: 1.936 MB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.7 MB / 245.1 MB, free: 13.81 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007719/0.0007719, allocations: 93.98 kB / 296.8 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 8 kB / 358.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2248, allocations: 50.91 MB / 409.3 MB, free: 50.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.002979/0.2279, allocations: 3.712 MB / 413 MB, free: 49.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2294, allocations: 1.278 MB / 414.3 MB, free: 48.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.2296, allocations: 10.09 kB / 414.3 MB, free: 48.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.507e-05/0.2297, allocations: 48.5 kB / 414.4 MB, free: 48.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.23, allocations: 132.1 kB / 414.5 MB, free: 48.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.2303, allocations: 134.4 kB / 414.6 MB, free: 48.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.2307, allocations: 0.5209 MB / 415.1 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2309, allocations: 117.9 kB / 415.3 MB, free: 47.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2311, allocations: 166.6 kB / 415.4 MB, free: 47.81 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.2313, allocations: 190.5 kB / 415.6 MB, free: 47.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.2313, allocations: 18.91 kB / 415.6 MB, free: 47.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2315, allocations: 44.14 kB / 415.7 MB, free: 47.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.2315, allocations: 68.91 kB / 415.7 MB, free: 47.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.2317, allocations: 230.4 kB / 416 MB, free: 47.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.2322, allocations: 486.5 kB / 416.4 MB, free: 47.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2322, allocations: 1.406 kB / 416.4 MB, free: 47.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2322, allocations: 0.7188 kB / 416.4 MB, free: 47.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2322, allocations: 0 / 416.4 MB, free: 47.36 MB / 330.7 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.001036/0.2333, allocations: 0.6652 MB / 417.1 MB, free: 46.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2333, allocations: 12.94 kB / 417.1 MB, free: 46.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.2334, allocations: 43.12 kB / 417.2 MB, free: 46.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.2337, allocations: 316.8 kB / 417.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.2337, allocations: 27.38 kB / 417.5 MB, free: 46.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.2338, allocations: 34.3 kB / 417.5 MB, free: 46.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.2344, allocations: 323.6 kB / 417.8 MB, free: 46.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2345, allocations: 0 / 417.8 MB, free: 46.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2345, allocations: 11.7 kB / 417.9 MB, free: 46.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2345, allocations: 9.656 kB / 417.9 MB, free: 46.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.2351, allocations: 268 kB / 418.1 MB, free: 46.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2368, allocations: 1.149 MB / 419.3 MB, free: 45.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.2375, allocations: 292.7 kB / 419.6 MB, free: 45.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.2378, allocations: 128.7 kB / 419.7 MB, free: 45.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.2378, allocations: 4.656 kB / 419.7 MB, free: 45.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.2382, allocations: 169.3 kB / 419.9 MB, free: 45.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.2382, allocations: 0 / 419.9 MB, free: 45.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.002757/0.241, allocations: 0.7189 MB / 420.6 MB, free: 45.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.241, allocations: 54.03 kB / 420.6 MB, free: 44.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.2414, allocations: 352 kB / 421 MB, free: 44.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.2414, allocations: 31.78 kB / 421 MB, free: 44.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.2415, allocations: 199.4 kB / 421.2 MB, free: 44.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.2416, allocations: 86.95 kB / 421.3 MB, free: 44.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.2416, allocations: 8 kB / 421.3 MB, free: 44.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.2417, allocations: 344.2 kB / 421.6 MB, free: 44.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.242, allocations: 101.2 kB / 421.7 MB, free: 44.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.2423, allocations: 161.8 kB / 421.9 MB, free: 44.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.2429, allocations: 303.1 kB / 422.2 MB, free: 43.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2429, allocations: 0 / 422.2 MB, free: 43.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008581/0.2437, allocations: 428.1 kB / 422.6 MB, free: 43.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/0.2438, allocations: 165.5 kB / 422.8 MB, free: 43.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2439, allocations: 3.781 kB / 422.8 MB, free: 43.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.2456, allocations: 240.1 kB / 423 MB, free: 43.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.2458, allocations: 51.42 kB / 423 MB, free: 43.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006043/0.2464, allocations: 0.6823 MB / 423.7 MB, free: 42.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.2467, allocations: 51.8 kB / 423.8 MB, free: 42.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.2468, allocations: 15.22 kB / 423.8 MB, free: 42.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.2468, allocations: 3.5 kB / 423.8 MB, free: 42.79 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/0.2478, allocations: 405.7 kB / 424.2 MB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2478, allocations: 1.188 kB / 424.2 MB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.2482, allocations: 106.6 kB / 424.3 MB, free: 42.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.2485, allocations: 56.64 kB / 424.4 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.2504, allocations: 1.898 MB / 426.3 MB, free: 40.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.2507, allocations: 43.92 kB / 426.3 MB, free: 40.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2507, allocations: 8.531 kB / 426.3 MB, free: 40.89 MB / 330.7 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 (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.0002113/0.2509, allocations: 238.1 kB / 426.5 MB, free: 40.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.251, allocations: 32.03 kB / 426.6 MB, free: 40.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.252, allocations: 407.1 kB / 427 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.252, allocations: 3.938 kB / 427 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.252, allocations: 0 / 427 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2521, allocations: 1.641 kB / 427 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.2525, allocations: 400 kB / 427.4 MB, free: 40.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2525, allocations: 0 / 427.4 MB, free: 40.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2527, allocations: 32.39 kB / 427.4 MB, free: 40.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.2539, allocations: 208.5 kB / 427.6 MB, free: 40.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.2539, allocations: 8.016 kB / 427.6 MB, free: 40.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/0.2544, allocations: 0.6946 MB / 428.3 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2544, allocations: 4.812 kB / 428.3 MB, free: 39.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.2556, allocations: 0.5295 MB / 428.8 MB, free: 39.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2558, allocations: 152.1 kB / 429 MB, free: 39.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.2558, allocations: 5.906 kB / 429 MB, free: 39.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2561, allocations: 21.52 kB / 429 MB, free: 39.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.2562, allocations: 26.94 kB / 429 MB, free: 39.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2562, allocations: 6.203 kB / 429 MB, free: 39.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002925/0.2565, allocations: 248.1 kB / 429.3 MB, free: 38.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2565, allocations: 0 / 429.3 MB, free: 38.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006421/0.2571, allocations: 172.9 kB / 429.5 MB, free: 38.96 MB / 330.7 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.000154/0.2573, allocations: 113.7 kB / 429.6 MB, free: 38.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.2587, allocations: 0.6965 MB / 430.3 MB, free: 38.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2587, allocations: 1 kB / 430.3 MB, free: 38.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.2591, allocations: 142.5 kB / 430.4 MB, free: 38.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.2595, allocations: 45.14 kB / 430.4 MB, free: 38.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2609, allocations: 1.05 MB / 431.5 MB, free: 37.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.2611, allocations: 0.7922 MB / 432.3 MB, free: 37.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.2613, allocations: 32.86 kB / 432.3 MB, free: 37.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.2614, allocations: 19.41 kB / 432.3 MB, free: 37.04 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2614, allocations: 0 / 432.3 MB, free: 37.04 MB / 330.7 MB Notification: Performance of Templates: time 0.009342/0.2707, allocations: 4.951 MB / 437.3 MB, free: 35.48 MB / 330.7 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)