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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.007921/0.007921, allocations: 173.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01416/0.01416, allocations: 1.934 MB / 17.78 MB, free: 4.168 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.268/1.268, allocations: 205.4 MB / 224.4 MB, free: 11.91 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.000826/0.0008261, allocations: 94.17 kB / 273.3 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 8 kB / 331.8 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06639/0.06667, allocations: 48.09 MB / 379.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.2774, allocations: 76.29 MB / 456.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.2776, allocations: 71.97 kB / 456.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006343/0.284, allocations: 2.407 MB / 458.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.284, allocations: 0 / 458.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.284, allocations: 0 / 458.7 MB, free: 8.781 MB / 330.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.0004/0.2844, allocations: 403.8 kB / 459.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2844, allocations: 12.03 kB / 459.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.2845, allocations: 15.81 kB / 459.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.2847, allocations: 203.3 kB / 459.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2847, allocations: 4 kB / 459.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2847, allocations: 8 kB / 459.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2849, allocations: 89.61 kB / 459.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2849, allocations: 0 / 459.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2849, allocations: 4 kB / 459.4 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2849, allocations: 0 / 459.4 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.2851, allocations: 59.97 kB / 459.5 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.2856, allocations: 392.5 kB / 459.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.286, allocations: 70.47 kB / 459.9 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.286, allocations: 0 / 459.9 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2861, allocations: 37.38 kB / 460 MB, free: 7.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2861, allocations: 0 / 460 MB, free: 7.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002538/0.2863, allocations: 93.66 kB / 460 MB, free: 7.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.2864, allocations: 59.36 kB / 460.1 MB, free: 7.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.2865, allocations: 157.3 kB / 460.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2865, allocations: 25.7 kB / 460.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.2866, allocations: 111.9 kB / 460.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.2866, allocations: 15.75 kB / 460.4 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.2866, allocations: 0 / 460.4 MB, free: 6.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.2867, allocations: 327.4 kB / 460.7 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.2868, allocations: 27.81 kB / 460.8 MB, free: 6.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.2868, allocations: 16 kB / 460.8 MB, free: 6.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.2869, allocations: 23.98 kB / 460.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2869, allocations: 0 / 460.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001562/0.2871, allocations: 85.58 kB / 460.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.2871, allocations: 99.81 kB / 461 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2871, allocations: 3.938 kB / 461 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2871, allocations: 3.953 kB / 461 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.2872, allocations: 12 kB / 461 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.2872, allocations: 0 / 461 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.2873, allocations: 7.984 kB / 461 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.2873, allocations: 5.188 kB / 461 MB, free: 6.246 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.2873, allocations: 4 kB / 461 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000113/0.2875, allocations: 51.98 kB / 461.1 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.2875, allocations: 0 / 461.1 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.2875, allocations: 0.875 kB / 461.1 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.2875, allocations: 15.98 kB / 461.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-06/0.2876, allocations: 0 / 461.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.2876, allocations: 11.84 kB / 461.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.2876, allocations: 0 / 461.1 MB, free: 6.164 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.2877, allocations: 197.1 kB / 461.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.2877, allocations: 7.906 kB / 461.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.2879, allocations: 90.53 kB / 461.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2879, allocations: 0 / 461.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.288, allocations: 0.875 kB / 461.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.288, allocations: 0 / 461.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.2883, allocations: 363.2 kB / 461.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2883, allocations: 0 / 461.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.2884, allocations: 11.98 kB / 461.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2884, allocations: 4 kB / 461.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2884, allocations: 256 / 461.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2884, allocations: 4 kB / 461.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2884, allocations: 0 / 461.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.2886, allocations: 197.9 kB / 461.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.2887, allocations: 96.91 kB / 462 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2887, allocations: 0.7656 kB / 462 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.2888, allocations: 4 kB / 462 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.2888, allocations: 3.953 kB / 462.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2888, allocations: 12.31 kB / 462.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.829e-05/0.2889, allocations: 135.2 kB / 462.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2889, allocations: 0 / 462.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.2892, allocations: 43.94 kB / 462.2 MB, free: 4.891 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.534e-05/0.2893, allocations: 99.17 kB / 462.3 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.2896, allocations: 75.91 kB / 462.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2896, allocations: 0 / 462.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.243e-05/0.2896, allocations: 19.98 kB / 462.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.2898, allocations: 16.92 kB / 462.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.2902, allocations: 304.6 kB / 462.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2904, allocations: 0.7159 MB / 463.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.2905, allocations: 12.41 kB / 463.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.2905, allocations: 11.44 kB / 463.5 MB, free: 3.582 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2905, allocations: 3.938 kB / 463.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of Templates: time 0.002727/0.2933, allocations: 0.8954 MB / 464.4 MB, free: 2.688 MB / 330.7 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)