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.001057/0.001057, 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.00108/0.00108, allocations: 196.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.34/1.34, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008898/0.008898, allocations: 1.932 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.001494/0.001494, allocations: 67.84 kB / 329.8 MB, free: 32.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08244/0.08394, allocations: 47.14 MB / 377 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.00351/0.0875, allocations: 1.953 MB / 378.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.08875, allocations: 0.5777 MB / 379.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.08889, allocations: 4 kB / 379.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.465e-05/0.08897, allocations: 15.84 kB / 379.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.08923, allocations: 43.56 kB / 379.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.08949, allocations: 35.91 kB / 379.6 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.08971, allocations: 139.3 kB / 379.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.08989, allocations: 36.83 kB / 379.8 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.09, allocations: 47.73 kB / 379.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.09013, allocations: 55.77 kB / 379.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.09017, allocations: 12 kB / 379.9 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.192e-05/0.09024, allocations: 16 kB / 379.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.09028, allocations: 19.92 kB / 379.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.09036, allocations: 59.67 kB / 380 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.09057, allocations: 115.6 kB / 380.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.09058, allocations: 0 / 380.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09059, allocations: 3.938 kB / 380.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.0906, allocations: 0 / 380.1 MB, free: 14.48 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.0006416/0.09125, allocations: 419 kB / 380.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.0913, allocations: 15.89 kB / 380.5 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.107e-05/0.09137, allocations: 16.75 kB / 380.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.0916, allocations: 202.2 kB / 380.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.09162, allocations: 4.375 kB / 380.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.09164, allocations: 8.375 kB / 380.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.09186, allocations: 89.97 kB / 380.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.09188, allocations: 3.938 kB / 380.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.0919, allocations: 4 kB / 380.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.09191, allocations: 0 / 380.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.09208, allocations: 63.95 kB / 380.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.09272, allocations: 388.5 kB / 381.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.09323, allocations: 62.55 kB / 381.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.09331, allocations: 24.94 kB / 381.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.09333, allocations: 4 kB / 381.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.09336, allocations: 34.56 kB / 381.4 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.09337, allocations: 0 / 381.4 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002952/0.09367, allocations: 97.56 kB / 381.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.09371, allocations: 51.41 kB / 381.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.09389, allocations: 178.6 kB / 381.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.09392, allocations: 33.7 kB / 381.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.09399, allocations: 104 kB / 381.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.09401, allocations: 19.73 kB / 381.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.09408, allocations: 21.72 kB / 381.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.0942, allocations: 318.8 kB / 382.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.09428, allocations: 28.84 kB / 382.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.09435, allocations: 23.98 kB / 382.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.09448, allocations: 48.84 kB / 382.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09449, allocations: 3.938 kB / 382.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001852/0.09468, allocations: 81.59 kB / 382.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.0947, allocations: 4 kB / 382.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.09472, allocations: 7.938 kB / 382.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.09473, allocations: 0 / 382.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.09482, allocations: 11.98 kB / 382.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.09484, allocations: 0 / 382.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.09492, allocations: 11.91 kB / 382.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.09494, allocations: 7.922 kB / 382.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001026/0.09505, allocations: 100.1 kB / 382.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.481e-05/0.0951, allocations: 23.92 kB / 382.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002021/0.09531, allocations: 44.78 kB / 382.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.09532, allocations: 0 / 382.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001482/0.09547, allocations: 73.59 kB / 382.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.09549, allocations: 6.969 kB / 382.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.0955, allocations: 4.375 kB / 382.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.09551, allocations: 11.92 kB / 382.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.09558, allocations: 12 kB / 382.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.09559, allocations: 4 kB / 382.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.09565, allocations: 4 kB / 382.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.09566, allocations: 0 / 382.7 MB, free: 11.62 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 0.0001202/0.09578, allocations: 185.1 kB / 382.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.09583, allocations: 15.81 kB / 382.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.09604, allocations: 86.48 kB / 383 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.09606, allocations: 0 / 383 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.09607, allocations: 4 kB / 383 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.09608, allocations: 0 / 383 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.09652, allocations: 351.3 kB / 383.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09653, allocations: 0 / 383.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.0966, allocations: 11.98 kB / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.09661, allocations: 32 / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.09662, allocations: 4 kB / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.09663, allocations: 0 / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.09664, allocations: 0 / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.09686, allocations: 184.1 kB / 383.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.09695, allocations: 93 kB / 383.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.09698, allocations: 4 kB / 383.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.09707, allocations: 4 kB / 383.6 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.09712, allocations: 7.984 kB / 383.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.09713, allocations: 0 / 383.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.09729, allocations: 140 kB / 383.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0973, allocations: 0 / 383.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.09765, allocations: 39.91 kB / 383.8 MB, free: 10.4 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.0001496/0.0978, allocations: 95.17 kB / 383.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.09809, allocations: 75.91 kB / 384 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.09811, allocations: 0 / 384 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.09818, allocations: 23.92 kB / 384 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.09862, allocations: 15.88 kB / 384 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.09925, allocations: 264.8 kB / 384.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.09956, allocations: 0.7117 MB / 385 MB, free: 9.156 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.09962, allocations: 16.69 kB / 385 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.09965, allocations: 11.44 kB / 385 MB, free: 9.129 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09966, allocations: 0 / 385 MB, free: 9.129 MB / 286.1 MB Notification: Performance of Templates: time 0.003615/0.1033, allocations: 1.008 MB / 386 MB, free: 8.121 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)