Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005818/0.005819, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001166/0.001166, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.36/1.36, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008419/0.008419, allocations: 1.924 MB / 271.9 MB, free: 3.566 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.001355/0.001355, allocations: 63.91 kB / 329.8 MB, free: 33.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07349/0.07486, allocations: 47.14 MB / 376.9 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.003333/0.07823, allocations: 2.267 MB / 379.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.07926, allocations: 0.605 MB / 379.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.07935, allocations: 4 kB / 379.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.84e-05/0.07944, allocations: 11.91 kB / 379.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.07957, allocations: 51.61 kB / 379.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.07975, allocations: 23.98 kB / 379.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.07992, allocations: 135.2 kB / 380 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.08004, allocations: 32.81 kB / 380.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-05/0.08012, allocations: 51.84 kB / 380.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.08021, allocations: 51.66 kB / 380.2 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.08024, allocations: 8 kB / 380.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.08031, allocations: 15.98 kB / 380.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.08034, allocations: 15.92 kB / 380.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.08042, allocations: 55.73 kB / 380.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.08055, allocations: 75.84 kB / 380.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.08056, allocations: 0 / 380.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.08057, allocations: 0 / 380.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.08058, allocations: 0 / 380.3 MB, free: 14.68 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005716/0.08115, allocations: 426.9 kB / 380.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.0812, allocations: 8.031 kB / 380.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.08125, allocations: 16.75 kB / 380.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.08145, allocations: 204 kB / 381 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.08147, allocations: 8.375 kB / 381 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.08149, allocations: 4.375 kB / 381 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.08171, allocations: 89.97 kB / 381.1 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.08173, allocations: 0 / 381.1 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.08175, allocations: 8 kB / 381.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.08176, allocations: 4 kB / 381.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.08191, allocations: 55.95 kB / 381.1 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.0825, allocations: 388.3 kB / 381.5 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.08301, allocations: 70.48 kB / 381.6 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.08308, allocations: 20.94 kB / 381.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.0831, allocations: 0 / 381.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.08313, allocations: 30.56 kB / 381.6 MB, free: 13.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.08314, allocations: 0 / 381.6 MB, free: 13.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002691/0.08341, allocations: 89.66 kB / 381.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.08345, allocations: 59.41 kB / 381.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.08362, allocations: 186.6 kB / 382 MB, free: 12.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.08364, allocations: 25.7 kB / 382 MB, free: 12.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.0837, allocations: 104 kB / 382.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.08373, allocations: 23.69 kB / 382.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.08378, allocations: 17.72 kB / 382.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.08389, allocations: 322.8 kB / 382.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.08396, allocations: 28.78 kB / 382.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.08403, allocations: 23.98 kB / 382.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.08414, allocations: 48.97 kB / 382.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.08415, allocations: 0 / 382.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001667/0.08432, allocations: 81.59 kB / 382.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.08435, allocations: 6.969 kB / 382.6 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.08436, allocations: 7.922 kB / 382.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.08437, allocations: 3.938 kB / 382.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.08446, allocations: 19.94 kB / 382.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.08447, allocations: 0 / 382.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.08454, allocations: 7.906 kB / 382.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.08456, allocations: 7.984 kB / 382.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.932e-05/0.08465, allocations: 100.1 kB / 382.8 MB, free: 12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.696e-05/0.08471, allocations: 15.98 kB / 382.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.297e-05/0.0848, allocations: 40.84 kB / 382.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.08481, allocations: 0 / 382.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001381/0.08495, allocations: 77.59 kB / 382.9 MB, free: 11.86 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.08497, allocations: 15.92 kB / 382.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.08497, allocations: 0 / 382.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.08498, allocations: 3.938 kB / 382.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.08504, allocations: 8 kB / 382.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-06/0.08505, allocations: 0 / 382.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.0851, allocations: 4.25 kB / 382.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.08512, allocations: 3.984 kB / 382.9 MB, free: 11.83 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/0.08521, allocations: 193.1 kB / 383.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.08525, allocations: 11.81 kB / 383.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.08544, allocations: 90.42 kB / 383.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.08545, allocations: 0 / 383.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.08546, allocations: 0 / 383.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.08547, allocations: 4.219 kB / 383.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.08584, allocations: 351.3 kB / 383.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.08585, allocations: 4.031 kB / 383.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.08591, allocations: 15.92 kB / 383.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.08592, allocations: 0 / 383.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.08593, allocations: 8 kB / 383.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.08594, allocations: 0 / 383.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08594, allocations: 0 / 383.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.08612, allocations: 180.1 kB / 383.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.0862, allocations: 93 kB / 383.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.08623, allocations: 0 / 383.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.08632, allocations: 4 kB / 383.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.08636, allocations: 7.984 kB / 383.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.08637, allocations: 3.938 kB / 383.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.971e-05/0.08648, allocations: 143.9 kB / 384 MB, free: 10.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08648, allocations: 0 / 384 MB, free: 10.63 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000306/0.08679, allocations: 43.91 kB / 384.1 MB, free: 10.59 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.08691, allocations: 99.23 kB / 384.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.08711, allocations: 67.91 kB / 384.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.08712, allocations: 0 / 384.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.08717, allocations: 15.98 kB / 384.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.08746, allocations: 15.94 kB / 384.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.08795, allocations: 320.5 kB / 384.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.08821, allocations: 0.7081 MB / 385.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.08825, allocations: 11.44 kB / 385.3 MB, free: 9.289 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.08826, allocations: 0 / 385.3 MB, free: 9.289 MB / 286.1 MB Notification: Performance of Templates: time 0.002551/0.09081, allocations: 1.228 MB / 386.5 MB, free: 8.059 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)