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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009788/0.0009788, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8019/0.8019, allocations: 158.6 MB / 185.3 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005781/0.005781, allocations: 1.443 MB / 239 MB, free: 13.73 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 304.6 MB, free: 61.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.822e-05, allocations: 2.312 kB / 304.6 MB, free: 61.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002045/0.002063, allocations: 1.997 MB / 306.6 MB, free: 60.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.002764, allocations: 0.5597 MB / 307.2 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.002814, allocations: 2.531 kB / 307.2 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.002859, allocations: 14.72 kB / 307.2 MB, free: 59.63 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.002967, allocations: 52.41 kB / 307.2 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.003151, allocations: 36.67 kB / 307.3 MB, free: 59.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003299, allocations: 144.2 kB / 307.4 MB, free: 59.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003405, allocations: 17.53 kB / 307.4 MB, free: 59.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.003502, allocations: 78.03 kB / 307.5 MB, free: 59.46 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.003576, allocations: 35.55 kB / 307.5 MB, free: 59.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.003595, allocations: 8.062 kB / 307.6 MB, free: 59.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.003645, allocations: 13.62 kB / 307.6 MB, free: 59.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.003666, allocations: 27.22 kB / 307.6 MB, free: 59.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.003703, allocations: 36.19 kB / 307.6 MB, free: 59.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.003845, allocations: 96.81 kB / 307.7 MB, free: 59.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003847, allocations: 0 / 307.7 MB, free: 59.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003848, allocations: 0 / 307.7 MB, free: 59.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003852, allocations: 0 / 307.7 MB, free: 59.38 MB / 282.7 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.0003458/0.004198, allocations: 452.7 kB / 308.2 MB, free: 58.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.004232, allocations: 14.08 kB / 308.2 MB, free: 58.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.004275, allocations: 18.77 kB / 308.2 MB, free: 58.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.004393, allocations: 146.9 kB / 308.3 MB, free: 58.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.004402, allocations: 7.562 kB / 308.4 MB, free: 58.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.004414, allocations: 9.531 kB / 308.4 MB, free: 58.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.004534, allocations: 83.89 kB / 308.4 MB, free: 58.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.00454, allocations: 1.75 kB / 308.4 MB, free: 58.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004551, allocations: 4.359 kB / 308.4 MB, free: 58.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.004559, allocations: 6.547 kB / 308.5 MB, free: 58.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.004614, allocations: 31.09 kB / 308.5 MB, free: 58.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.004965, allocations: 364 kB / 308.8 MB, free: 58.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.005208, allocations: 61.91 kB / 308.9 MB, free: 58.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.005231, allocations: 17.28 kB / 308.9 MB, free: 58.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.005245, allocations: 1.797 kB / 308.9 MB, free: 58.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.005258, allocations: 34.61 kB / 309 MB, free: 58.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.00526, allocations: 1.062 kB / 309 MB, free: 58.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001384/0.005398, allocations: 69.47 kB / 309 MB, free: 58.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.005416, allocations: 53.34 kB / 309.1 MB, free: 58.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.005501, allocations: 208.5 kB / 309.3 MB, free: 58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.005507, allocations: 25.7 kB / 309.3 MB, free: 57.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.005551, allocations: 162.3 kB / 309.5 MB, free: 57.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.005559, allocations: 10.16 kB / 309.5 MB, free: 57.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.005589, allocations: 30.84 kB / 309.5 MB, free: 57.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.005626, allocations: 0.4934 MB / 310 MB, free: 57.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.00565, allocations: 20.03 kB / 310 MB, free: 57.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.005668, allocations: 9.703 kB / 310 MB, free: 57.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.005715, allocations: 30.2 kB / 310.1 MB, free: 57.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005717, allocations: 0 / 310.1 MB, free: 57.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.056e-05/0.005787, allocations: 65.12 kB / 310.1 MB, free: 57.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005799, allocations: 6.25 kB / 310.1 MB, free: 57.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.005804, allocations: 0 / 310.1 MB, free: 57.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.005814, allocations: 1.062 kB / 310.1 MB, free: 57.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.00586, allocations: 14.47 kB / 310.1 MB, free: 57.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.005864, allocations: 5.578 kB / 310.1 MB, free: 57.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.005893, allocations: 14.95 kB / 310.2 MB, free: 57.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005898, allocations: 1.188 kB / 310.2 MB, free: 57.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.126e-05/0.00593, allocations: 132.8 kB / 310.3 MB, free: 57.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.158e-05/0.005941, allocations: 9 kB / 310.3 MB, free: 57.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.707e-05/0.005968, allocations: 31.69 kB / 310.3 MB, free: 57.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.11e-07/0.005969, allocations: 0 / 310.3 MB, free: 57.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 5.205e-05/0.006021, allocations: 57 kB / 310.4 MB, free: 56.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.006027, allocations: 5.516 kB / 310.4 MB, free: 56.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-06/0.006028, allocations: 1.125 kB / 310.4 MB, free: 56.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.72e-07/0.006029, allocations: 0 / 310.4 MB, free: 56.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.579e-05/0.006055, allocations: 17.59 kB / 310.4 MB, free: 56.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.006057, allocations: 2.047 kB / 310.4 MB, free: 56.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.006076, allocations: 2.25 kB / 310.4 MB, free: 56.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-06/0.006079, allocations: 5.812 kB / 310.4 MB, free: 56.98 MB / 282.7 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 4.051e-05/0.00612, allocations: 269.1 kB / 310.7 MB, free: 56.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.006137, allocations: 14.2 kB / 310.7 MB, free: 56.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.006227, allocations: 63.28 kB / 310.8 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006229, allocations: 1.156 kB / 310.8 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.006232, allocations: 0.5156 kB / 310.8 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006235, allocations: 5.031 kB / 310.8 MB, free: 56.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.006411, allocations: 327.2 kB / 311.1 MB, free: 56.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.006414, allocations: 1.172 kB / 311.1 MB, free: 56.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.006438, allocations: 8.234 kB / 311.1 MB, free: 56.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.00644, allocations: 1.156 kB / 311.1 MB, free: 56.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.006446, allocations: 5 kB / 311.1 MB, free: 56.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.006448, allocations: 5.797 kB / 311.1 MB, free: 56.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006449, allocations: 0 / 311.1 MB, free: 56.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.499e-05/0.006524, allocations: 220.5 kB / 311.3 MB, free: 56.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.006551, allocations: 19.61 kB / 311.3 MB, free: 56.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.006565, allocations: 1.188 kB / 311.3 MB, free: 56.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.006606, allocations: 10.72 kB / 311.3 MB, free: 56.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.006623, allocations: 3.609 kB / 311.4 MB, free: 56.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.006626, allocations: 2.156 kB / 311.4 MB, free: 56.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.215e-05/0.006678, allocations: 159.1 kB / 311.5 MB, free: 55.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006678, allocations: 3.938 kB / 311.5 MB, free: 55.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.00688, allocations: 43.98 kB / 311.6 MB, free: 55.95 MB / 282.7 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 7.813e-05/0.006959, allocations: 98.78 kB / 311.7 MB, free: 55.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.007059, allocations: 54.84 kB / 311.7 MB, free: 55.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00706, allocations: 0 / 311.7 MB, free: 55.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.007077, allocations: 24.11 kB / 311.7 MB, free: 55.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.007256, allocations: 8.922 kB / 311.7 MB, free: 55.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.007795, allocations: 262.8 kB / 312 MB, free: 55.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.653e-05/0.007822, allocations: 63.44 kB / 312.1 MB, free: 55.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.007851, allocations: 5.812 kB / 312.1 MB, free: 55.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.007872, allocations: 12.38 kB / 312.1 MB, free: 55.52 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007873, allocations: 1.375 kB / 312.1 MB, free: 55.52 MB / 282.7 MB Notification: Performance of Templates: time 0.002423/0.0103, allocations: 0.8896 MB / 313 MB, free: 55.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile [Timeout 660] (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=240 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.615794819081202]