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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009803/0.0009806, allocations: 181.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0065/0.0065, allocations: 1.935 MB / 18.67 MB, free: 3.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.1 MB / 225 MB, free: 4.816 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 105.9 kB / 272.9 MB, free: 6.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 51.92 kB / 330.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2119, allocations: 47.13 MB / 377.9 MB, free: 44.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.004254/0.2162, allocations: 4.303 MB / 382.2 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2181, allocations: 1.05 MB / 383.3 MB, free: 40.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.2186, allocations: 7.219 kB / 383.3 MB, free: 40.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.2188, allocations: 41.06 kB / 383.3 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.2192, allocations: 131.6 kB / 383.5 MB, free: 40.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.2197, allocations: 141.6 kB / 383.6 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.2202, allocations: 0.525 MB / 384.1 MB, free: 39.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.2205, allocations: 124.2 kB / 384.2 MB, free: 39.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.2208, allocations: 166.2 kB / 384.4 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.2211, allocations: 211.9 kB / 384.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.2211, allocations: 22.59 kB / 384.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2213, allocations: 47.67 kB / 384.7 MB, free: 39.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.2214, allocations: 77.73 kB / 384.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.2216, allocations: 209.8 kB / 385 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.222, allocations: 493.8 kB / 385.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.222, allocations: 1.25 kB / 385.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.222, allocations: 0 / 385.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.222, allocations: 0 / 385.4 MB, free: 38.88 MB / 298.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.001298/0.2234, allocations: 0.7478 MB / 386.2 MB, free: 38.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2234, allocations: 9.094 kB / 386.2 MB, free: 38.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2235, allocations: 46.91 kB / 386.2 MB, free: 38.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.2239, allocations: 306.2 kB / 386.5 MB, free: 37.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2239, allocations: 33.03 kB / 386.6 MB, free: 37.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.224, allocations: 32.38 kB / 386.6 MB, free: 37.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.2245, allocations: 322.3 kB / 386.9 MB, free: 37.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2246, allocations: 0 / 386.9 MB, free: 37.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2246, allocations: 16 kB / 386.9 MB, free: 37.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2246, allocations: 8 kB / 386.9 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.2251, allocations: 254.5 kB / 387.2 MB, free: 37.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.2267, allocations: 1.142 MB / 388.3 MB, free: 36.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.2273, allocations: 273.8 kB / 388.6 MB, free: 35.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2276, allocations: 124.8 kB / 388.7 MB, free: 35.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.2276, allocations: 4 kB / 388.7 MB, free: 35.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.228, allocations: 165.7 kB / 388.9 MB, free: 35.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/0.228, allocations: 0 / 388.9 MB, free: 35.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.002401/0.2304, allocations: 0.7093 MB / 389.6 MB, free: 34.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.2304, allocations: 51.41 kB / 389.7 MB, free: 34.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.2307, allocations: 349.6 kB / 390 MB, free: 34.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2307, allocations: 33.7 kB / 390 MB, free: 34.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.2308, allocations: 200.2 kB / 390.2 MB, free: 34.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.2309, allocations: 90.73 kB / 390.3 MB, free: 33.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.231, allocations: 69.61 kB / 390.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.231, allocations: 346.7 kB / 390.7 MB, free: 33.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.2313, allocations: 100.8 kB / 390.8 MB, free: 33.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2315, allocations: 157.4 kB / 391 MB, free: 33.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.2319, allocations: 295.5 kB / 391.3 MB, free: 32.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2319, allocations: 0 / 391.3 MB, free: 32.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006422/0.2326, allocations: 415.6 kB / 391.7 MB, free: 32.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2326, allocations: 33.69 kB / 391.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2326, allocations: 4 kB / 391.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.2341, allocations: 240.7 kB / 391.9 MB, free: 32.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.2342, allocations: 39.98 kB / 392 MB, free: 32.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000473/0.2347, allocations: 0.6992 MB / 392.7 MB, free: 31.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.235, allocations: 47.67 kB / 392.7 MB, free: 31.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.235, allocations: 12 kB / 392.7 MB, free: 31.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002542/0.2353, allocations: 208.1 kB / 392.9 MB, free: 31.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001934/0.2355, allocations: 145.9 kB / 393.1 MB, free: 31.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003614/0.2359, allocations: 279.8 kB / 393.3 MB, free: 30.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.2359, allocations: 7.938 kB / 393.4 MB, free: 30.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008299/0.2367, allocations: 435.6 kB / 393.8 MB, free: 30.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2368, allocations: 37.7 kB / 393.8 MB, free: 30.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.2368, allocations: 3.938 kB / 393.8 MB, free: 30.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/0.2371, allocations: 96.72 kB / 393.9 MB, free: 30.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2373, allocations: 51.91 kB / 394 MB, free: 30.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.2389, allocations: 1.889 MB / 395.9 MB, free: 28.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.2391, allocations: 31.77 kB / 395.9 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2391, allocations: 15.98 kB / 395.9 MB, free: 28.04 MB / 298.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 (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 8.345e-05/0.2392, allocations: 211.9 kB / 396.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2393, allocations: 35.53 kB / 396.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008544/0.2401, allocations: 396.7 kB / 396.5 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2402, allocations: 4 kB / 396.5 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2402, allocations: 0 / 396.5 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2402, allocations: 3.938 kB / 396.5 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.2405, allocations: 401 kB / 396.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2405, allocations: 4.188 kB / 396.9 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2406, allocations: 27.97 kB / 397 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009854/0.2416, allocations: 208.6 kB / 397.2 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.2417, allocations: 8 kB / 397.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003993/0.2421, allocations: 0.6928 MB / 397.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2421, allocations: 0 / 397.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00985/0.2519, allocations: 5.605 MB / 403.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2521, allocations: 156.6 kB / 403.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.2522, allocations: 4 kB / 403.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2524, allocations: 19.92 kB / 403.7 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.2525, allocations: 19.97 kB / 403.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2525, allocations: 15.98 kB / 403.7 MB, free: 19.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001905/0.2527, allocations: 243.2 kB / 403.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2527, allocations: 0 / 403.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008393/0.2535, allocations: 295.7 kB / 404.2 MB, free: 19.34 MB / 298.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.0001332/0.2537, allocations: 103.3 kB / 404.3 MB, free: 19.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.255, allocations: 0.6855 MB / 405 MB, free: 18.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.255, allocations: 288 / 405 MB, free: 18.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.2553, allocations: 148 kB / 405.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.2557, allocations: 45.34 kB / 405.2 MB, free: 18.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.2572, allocations: 1.367 MB / 406.6 MB, free: 16.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2574, allocations: 0.8038 MB / 407.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.2575, allocations: 34.95 kB / 407.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.2576, allocations: 23.42 kB / 407.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2576, allocations: 4 kB / 407.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of Templates: time 0.009438/0.267, allocations: 7.163 MB / 414.6 MB, free: 8.855 MB / 298.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)