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.0014/0.001401, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01847/0.01847, allocations: 1.924 MB / 9.997 MB, free: 0.582 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.3 MB / 216.2 MB, free: 15.83 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.0007961/0.0007961, allocations: 102.4 kB / 264.8 MB, free: 15.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.034e-05, allocations: 0 / 319 MB, free: 19.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.06987, allocations: 48.1 MB / 367.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2616/0.3316, allocations: 75.53 MB / 442.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.3318, allocations: 67.72 kB / 442.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006076/0.3379, allocations: 2.388 MB / 445.1 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3379, allocations: 0 / 445.1 MB, free: 396 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3379, allocations: 0 / 445.1 MB, free: 396 kB / 314.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.0003756/0.3383, allocations: 385.5 kB / 445.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3383, allocations: 12.03 kB / 445.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3384, allocations: 11.91 kB / 445.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.3386, allocations: 198.3 kB / 445.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3386, allocations: 4 kB / 445.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3386, allocations: 4 kB / 445.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.3387, allocations: 45.64 kB / 445.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3389, allocations: 68.17 kB / 445.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3389, allocations: 0 / 445.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3389, allocations: 0 / 445.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3389, allocations: 4 kB / 445.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.3394, allocations: 360.5 kB / 446.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.3398, allocations: 57.56 kB / 446.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.3399, allocations: 20.12 kB / 446.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3399, allocations: 3.938 kB / 446.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3399, allocations: 34.56 kB / 446.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3399, allocations: 0 / 446.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001949/0.3401, allocations: 68.67 kB / 446.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.3402, allocations: 51.41 kB / 446.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3403, allocations: 141.5 kB / 446.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3403, allocations: 25.7 kB / 446.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.3404, allocations: 113.9 kB / 446.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.3404, allocations: 15.8 kB / 446.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.3404, allocations: 4 kB / 446.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.3405, allocations: 314.5 kB / 447 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.3405, allocations: 21.95 kB / 447 MB, free: 14.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.3405, allocations: 12.53 kB / 447.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.3406, allocations: 22.75 kB / 447.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3406, allocations: 0 / 447.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001302/0.3408, allocations: 76.14 kB / 447.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.3408, allocations: 96.31 kB / 447.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3408, allocations: 4 kB / 447.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.3408, allocations: 0 / 447.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.3409, allocations: 11.95 kB / 447.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.3409, allocations: 0 / 447.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.341, allocations: 11.92 kB / 447.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.341, allocations: 4 kB / 447.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.341, allocations: 4 kB / 447.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 5.558e-05/0.3411, allocations: 30.5 kB / 447.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-06/0.3411, allocations: 0 / 447.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-06/0.3411, allocations: 4 kB / 447.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.3412, allocations: 15.98 kB / 447.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-06/0.3412, allocations: 0 / 447.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.3412, allocations: 3.938 kB / 447.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.3412, allocations: 4 kB / 447.3 MB, free: 14.14 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 () * 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 5.504e-05/0.3413, allocations: 104.9 kB / 447.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.3413, allocations: 7.906 kB / 447.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.3415, allocations: 72.2 kB / 447.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3415, allocations: 0 / 447.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3415, allocations: 256 / 447.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3415, allocations: 7.922 kB / 447.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3418, allocations: 316.9 kB / 447.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3418, allocations: 0 / 447.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.3418, allocations: 8 kB / 447.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3419, allocations: 4 kB / 447.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3419, allocations: 0 / 447.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3419, allocations: 11.95 kB / 447.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3419, allocations: 0 / 447.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.342, allocations: 172.5 kB / 448 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.3421, allocations: 92.12 kB / 448.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3421, allocations: 0 / 448.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.3422, allocations: 8 kB / 448.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3422, allocations: 0 / 448.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3422, allocations: 4 kB / 448.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.3423, allocations: 113.5 kB / 448.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3423, allocations: 0 / 448.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003067/0.3426, allocations: 51.83 kB / 448.3 MB, free: 13.14 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 () * 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 0.000106/0.3427, allocations: 99.12 kB / 448.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.3429, allocations: 46.62 kB / 448.4 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3429, allocations: 4 kB / 448.4 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.3429, allocations: 19.17 kB / 448.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.3431, allocations: 11.64 kB / 448.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.3434, allocations: 122.7 kB / 448.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.3436, allocations: 0.7078 MB / 449.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.562e-05/0.3437, allocations: 24.31 kB / 449.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.3437, allocations: 7.438 kB / 449.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3437, allocations: 0 / 449.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of Templates: time 0.003131/0.3469, allocations: 0.8573 MB / 450.2 MB, free: 11.22 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)