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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001718/0.001718, allocations: 175.2 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006398/0.006398, allocations: 1.92 MB / 9.79 MB, free: 460 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9696/0.9696, allocations: 205.2 MB / 215.9 MB, free: 11.03 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.0008406/0.0008406, allocations: 96.47 kB / 264.4 MB, free: 10.78 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.238e-06/4.258e-06, allocations: 0 / 318.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1554, allocations: 48.07 MB / 366.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06803/0.2235, allocations: 75.46 MB / 442.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001641/0.2237, allocations: 77.72 kB / 442.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005694/0.2294, allocations: 2.088 MB / 444.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2294, allocations: 8.656 kB / 444.2 MB, free: 5.434 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.0003289/0.2297, allocations: 382.4 kB / 444.6 MB, free: 5.016 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.2298, allocations: 9.625 kB / 444.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2298, allocations: 11.91 kB / 444.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.23, allocations: 199.3 kB / 444.8 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.23, allocations: 4 kB / 444.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2301, allocations: 7.938 kB / 444.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.2302, allocations: 47.98 kB / 444.9 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2303, allocations: 69.67 kB / 444.9 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2303, allocations: 3.938 kB / 444.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2303, allocations: 0 / 444.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2303, allocations: 0 / 444.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.2308, allocations: 361 kB / 445.3 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.2312, allocations: 54.61 kB / 445.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.2312, allocations: 16.86 kB / 445.4 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2312, allocations: 3.984 kB / 445.4 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.2313, allocations: 34.56 kB / 445.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2313, allocations: 4 kB / 445.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.2315, allocations: 69.67 kB / 445.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.2315, allocations: 52.16 kB / 445.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.2316, allocations: 128.1 kB / 445.7 MB, free: 3.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2316, allocations: 29.64 kB / 445.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.2317, allocations: 107.9 kB / 445.8 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.2317, allocations: 11.81 kB / 445.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.2317, allocations: 0 / 445.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.2318, allocations: 326.8 kB / 446.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.2318, allocations: 12 kB / 446.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.2319, allocations: 8.656 kB / 446.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.2319, allocations: 23.98 kB / 446.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2319, allocations: 0 / 446.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001411/0.2321, allocations: 77.5 kB / 446.2 MB, free: 3.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.2321, allocations: 95.47 kB / 446.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.2321, allocations: 0 / 446.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.2322, allocations: 7.984 kB / 446.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.2322, allocations: 12.75 kB / 446.4 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2323, allocations: 0.9375 kB / 446.4 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.2323, allocations: 7.938 kB / 446.4 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.2323, allocations: 11.83 kB / 446.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.2324, allocations: 4 kB / 446.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 5.652e-05/0.2324, allocations: 28.12 kB / 446.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.2324, allocations: 4.062 kB / 446.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-06/0.2324, allocations: 8 kB / 446.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.2325, allocations: 14.14 kB / 446.4 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.62e-07/0.2325, allocations: 0 / 446.4 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.2326, allocations: 4 kB / 446.4 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-06/0.2326, allocations: 0 / 446.4 MB, free: 3.023 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.168e-05/0.2326, allocations: 110.8 kB / 446.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.2327, allocations: 7.906 kB / 446.6 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.2328, allocations: 76 kB / 446.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2328, allocations: 0 / 446.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2328, allocations: 0 / 446.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2328, allocations: 0 / 446.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.2331, allocations: 311.9 kB / 446.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2331, allocations: 3.984 kB / 446.9 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.2331, allocations: 8 kB / 446.9 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2332, allocations: 0 / 446.9 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2332, allocations: 8.031 kB / 447 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2332, allocations: 0 / 447 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2332, allocations: 0 / 447 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001174/0.2333, allocations: 173.9 kB / 447.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.2334, allocations: 89.02 kB / 447.2 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2334, allocations: 3.906 kB / 447.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.2335, allocations: 11.98 kB / 447.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.2335, allocations: 0 / 447.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2335, allocations: 4 kB / 447.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.102e-05/0.2336, allocations: 118.8 kB / 447.3 MB, free: 2.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.2339, allocations: 47.84 kB / 447.4 MB, free: 1.969 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 9.298e-05/0.234, allocations: 103.2 kB / 447.5 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.2341, allocations: 48.44 kB / 447.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2341, allocations: 4 kB / 447.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.2341, allocations: 11.94 kB / 447.6 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.2343, allocations: 14.5 kB / 447.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.2346, allocations: 128.5 kB / 447.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.2349, allocations: 0.7264 MB / 448.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2349, allocations: 0 / 448.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of Templates: time 0.002772/0.2377, allocations: 1.039 MB / 449.5 MB, free: 15.86 MB / 346.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)