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.0009587/0.0009587, allocations: 98.88 kB / 16.02 MB, free: 76 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.001086/0.001086, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.289/1.289, allocations: 205.4 MB / 223.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007902/0.007902, allocations: 1.92 MB / 273.3 MB, free: 3.289 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.0004789/0.0004789, allocations: 16 kB / 332.1 MB, free: 32.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06669/0.06718, allocations: 48.1 MB / 380.2 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002134/0.06936, allocations: 1.917 MB / 382.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.07029, allocations: 0.5896 MB / 382.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.07036, allocations: 4 kB / 382.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.0704, allocations: 15.84 kB / 382.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.07052, allocations: 39.69 kB / 382.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.07069, allocations: 31.97 kB / 382.8 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.07085, allocations: 131.3 kB / 383 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.07096, allocations: 32.84 kB / 383 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.239e-05/0.07103, allocations: 47.73 kB / 383.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.07113, allocations: 47.77 kB / 383.1 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.07115, allocations: 4 kB / 383.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.273e-05/0.07121, allocations: 11.98 kB / 383.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.07124, allocations: 23.86 kB / 383.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.07131, allocations: 69.45 kB / 383.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.07143, allocations: 83.8 kB / 383.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.07144, allocations: 0 / 383.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.07145, allocations: 4 kB / 383.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.07146, allocations: 0 / 383.3 MB, free: 13.77 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.000475/0.07194, allocations: 403 kB / 383.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.07198, allocations: 12.03 kB / 383.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.07202, allocations: 8.844 kB / 383.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.07221, allocations: 210.4 kB / 383.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.07223, allocations: 8.375 kB / 383.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.07225, allocations: 4.375 kB / 383.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.07246, allocations: 97.97 kB / 384 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.07248, allocations: 0 / 384 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.0725, allocations: 7.938 kB / 384 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.07251, allocations: 0 / 384 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.07267, allocations: 67.81 kB / 384.1 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.07323, allocations: 388.4 kB / 384.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.07369, allocations: 74.47 kB / 384.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.07376, allocations: 16.86 kB / 384.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.07379, allocations: 4 kB / 384.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.07382, allocations: 34.66 kB / 384.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.07382, allocations: 0 / 384.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002783/0.07411, allocations: 105.5 kB / 384.7 MB, free: 12.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.07415, allocations: 51.41 kB / 384.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.07431, allocations: 182.7 kB / 384.9 MB, free: 11.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.07434, allocations: 29.7 kB / 385 MB, free: 11.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.0744, allocations: 104 kB / 385.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.07443, allocations: 19.75 kB / 385.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.07446, allocations: 9.719 kB / 385.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.07457, allocations: 322.8 kB / 385.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.07463, allocations: 19.98 kB / 385.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.0747, allocations: 23.98 kB / 385.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.07482, allocations: 48.84 kB / 385.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.07483, allocations: 4 kB / 385.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001757/0.07501, allocations: 89.53 kB / 385.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.07507, allocations: 99.78 kB / 385.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.07508, allocations: 3.984 kB / 385.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.0751, allocations: 8 kB / 385.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.07518, allocations: 12 kB / 385.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.07519, allocations: 0 / 385.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.07526, allocations: 11.89 kB / 385.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.07528, allocations: 0 / 385.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.07529, allocations: 4 kB / 385.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001211/0.07541, allocations: 43.98 kB / 385.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/0.07543, allocations: 4 kB / 385.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.07544, allocations: 4 kB / 385.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.0755, allocations: 19.88 kB / 385.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.07552, allocations: 7.922 kB / 385.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.07557, allocations: 7.938 kB / 385.8 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.07558, allocations: 0 / 385.8 MB, free: 11.02 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.728e-05/0.07568, allocations: 193.1 kB / 386 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.07572, allocations: 11.81 kB / 386 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.07591, allocations: 90.59 kB / 386.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.07592, allocations: 3.938 kB / 386.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.07593, allocations: 0 / 386.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.07594, allocations: 0 / 386.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.07632, allocations: 355.6 kB / 386.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.07633, allocations: 4.031 kB / 386.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.07639, allocations: 15.88 kB / 386.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.0764, allocations: 3.984 kB / 386.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.07642, allocations: 7.984 kB / 386.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.07642, allocations: 0 / 386.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.07643, allocations: 7.969 kB / 386.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.07662, allocations: 176.2 kB / 386.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.07669, allocations: 104.9 kB / 386.8 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.07671, allocations: 0 / 386.8 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.07681, allocations: 8.062 kB / 386.8 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.07684, allocations: 0 / 386.8 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.07685, allocations: 4 kB / 386.8 MB, free: 9.938 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.07697, allocations: 144 kB / 386.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.07698, allocations: 4 kB / 386.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.07729, allocations: 32 kB / 386.9 MB, free: 9.762 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.0001042/0.0774, allocations: 99.12 kB / 387 MB, free: 9.656 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.07762, allocations: 71.95 kB / 387.1 MB, free: 9.586 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.07763, allocations: 0 / 387.1 MB, free: 9.586 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.07769, allocations: 23.94 kB / 387.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.07801, allocations: 19.92 kB / 387.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.0785, allocations: 354.4 kB / 387.5 MB, free: 9.164 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.07875, allocations: 0.7042 MB / 388.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.07879, allocations: 15.44 kB / 388.2 MB, free: 8.418 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.07879, allocations: 0 / 388.2 MB, free: 8.418 MB / 286.1 MB Notification: Performance of Templates: time 0.002664/0.08146, allocations: 1.223 MB / 389.4 MB, free: 7.191 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)