Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [: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 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 188 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4477/0.4477, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 99.73 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.732e-06/6.762e-06, allocations: 0 / 493.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3961, allocations: 72.31 MB / 0.5529 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.566/0.9622, allocations: 353.3 MB / 0.8979 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.9625, allocations: 94.41 kB / 0.898 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of FrontEnd: time 0.6569/1.619, allocations: 178.2 MB / 1.072 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.464e-05/1.619, allocations: 19.88 kB / 1.072 GB, free: 117.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001214/1.621, allocations: 0.7704 MB / 1.073 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.621, allocations: 12.03 kB / 1.073 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/1.621, allocations: 55.34 kB / 1.073 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/1.622, allocations: 464.7 kB / 1.073 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/1.622, allocations: 8 kB / 1.073 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/1.622, allocations: 27.91 kB / 1.073 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002816/1.622, allocations: 137 kB / 1.074 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/1.622, allocations: 240.3 kB / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.622, allocations: 0 / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/1.622, allocations: 0 / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.623, allocations: 8 kB / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/1.624, allocations: 1.443 MB / 1.075 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/1.624, allocations: 130.8 kB / 1.075 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/1.624, allocations: 64.94 kB / 1.075 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/1.626, allocations: 1.363 MB / 1.077 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/1.626, allocations: 34.56 kB / 1.077 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/1.626, allocations: 0 / 1.077 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004622/1.626, allocations: 180.9 kB / 1.077 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/1.626, allocations: 55.41 kB / 1.077 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/1.627, allocations: 477.3 kB / 1.077 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/1.627, allocations: 25.7 kB / 1.077 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/1.627, allocations: 204 kB / 1.078 GB, free: 111 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/1.627, allocations: 55.2 kB / 1.078 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.627, allocations: 0 / 1.078 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/1.627, allocations: 354.8 kB / 1.078 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/1.627, allocations: 52.55 kB / 1.078 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/1.627, allocations: 205.1 kB / 1.078 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/1.627, allocations: 102.6 kB / 1.078 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.627, allocations: 0 / 1.078 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000457/1.628, allocations: 280.9 kB / 1.079 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/1.628, allocations: 0.9637 MB / 1.08 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.628, allocations: 7.938 kB / 1.08 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.628, allocations: 4 kB / 1.08 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/1.628, allocations: 63.89 kB / 1.08 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.628, allocations: 8 kB / 1.08 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/1.629, allocations: 51.59 kB / 1.08 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/1.629, allocations: 16 kB / 1.08 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/1.629, allocations: 4 kB / 1.08 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003788/1.629, allocations: 186.5 kB / 1.08 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/1.629, allocations: 4 kB / 1.08 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/1.629, allocations: 4 kB / 1.08 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/1.629, allocations: 67.91 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.629, allocations: 16.08 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/1.63, allocations: 35.83 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.63, allocations: 15.98 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 7.525e-05/1.63, allocations: 108.9 kB / 1.08 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/1.63, allocations: 55.34 kB / 1.08 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/1.63, allocations: 233.4 kB / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.63, allocations: 0 / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.63, allocations: 0 / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.63, allocations: 0 / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/1.631, allocations: 0.684 MB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.631, allocations: 4 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/1.631, allocations: 43.91 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.631, allocations: 7.906 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/1.631, allocations: 0 / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.631, allocations: 8.125 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.631, allocations: 0 / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003605/1.632, allocations: 369.1 kB / 1.081 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/1.632, allocations: 160.3 kB / 1.082 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/1.632, allocations: 3.984 kB / 1.082 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/1.632, allocations: 23.92 kB / 1.082 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/1.632, allocations: 15.98 kB / 1.082 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/1.632, allocations: 4 kB / 1.082 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003049/1.633, allocations: 362.9 kB / 1.082 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008183/1.633, allocations: 271.4 kB / 1.082 GB, free: 105.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009894/1.634, allocations: 0.5141 MB / 1.083 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004215/1.635, allocations: 289.1 kB / 1.083 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.635, allocations: 1 kB / 1.083 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/1.635, allocations: 72.11 kB / 1.083 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.636, allocations: 207.6 kB / 1.083 GB, free: 105 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/1.637, allocations: 0.577 MB / 1.084 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/1.638, allocations: 0.8977 MB / 1.085 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/1.638, allocations: 4 kB / 1.085 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.01667/1.654, allocations: 10.87 MB / 1.095 GB, free: 92.69 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)