Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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/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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6962/0.6962, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 181.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001095, allocations: 93.78 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.476e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1902, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.301, allocations: 362.9 MB / 0.9753 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/1.301, allocations: 99.86 kB / 0.9754 GB, free: 119 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.6526/1.954, allocations: 170.4 MB / 1.142 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.755e-05/1.954, allocations: 16.34 kB / 1.142 GB, free: 165.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001593/1.955, allocations: 0.7766 MB / 1.143 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.956, allocations: 10.59 kB / 1.143 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/1.956, allocations: 57.22 kB / 1.143 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/1.957, allocations: 460.3 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/1.957, allocations: 7.406 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/1.957, allocations: 18.25 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000333/1.957, allocations: 146.5 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/1.958, allocations: 222.8 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.958, allocations: 6.969 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/1.958, allocations: 0 / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.958, allocations: 3.656 kB / 1.143 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/1.96, allocations: 1.857 MB / 1.145 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/1.96, allocations: 103.8 kB / 1.145 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/1.96, allocations: 35.05 kB / 1.145 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.962, allocations: 0.7194 MB / 1.146 GB, free: 162.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/1.962, allocations: 30.56 kB / 1.146 GB, free: 162.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.755e-06/1.962, allocations: 112 / 1.146 GB, free: 162.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0007329/1.962, allocations: 189.5 kB / 1.146 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/1.962, allocations: 56.91 kB / 1.146 GB, free: 162.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/1.963, allocations: 484.4 kB / 1.147 GB, free: 162.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/1.963, allocations: 29.58 kB / 1.147 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.963, allocations: 211.5 kB / 1.147 GB, free: 162.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/1.963, allocations: 41.53 kB / 1.147 GB, free: 162.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/1.963, allocations: 0 / 1.147 GB, free: 162.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/1.963, allocations: 359.4 kB / 1.147 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/1.963, allocations: 51.34 kB / 1.148 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/1.964, allocations: 210.5 kB / 1.148 GB, free: 162 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/1.964, allocations: 98.78 kB / 1.148 GB, free: 162 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.964, allocations: 6.656 kB / 1.148 GB, free: 162 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005655/1.964, allocations: 272.2 kB / 1.148 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002337/1.965, allocations: 0.8763 MB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.965, allocations: 3.516 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.965, allocations: 3.844 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/1.965, allocations: 80.52 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/1.965, allocations: 5.812 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/1.966, allocations: 54.86 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/1.966, allocations: 15.27 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/1.966, allocations: 3.875 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003988/1.966, allocations: 178.3 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.966, allocations: 3.906 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-06/1.966, allocations: 3.75 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/1.966, allocations: 69.25 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.966, allocations: 2.844 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/1.967, allocations: 33.3 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/1.967, allocations: 18.3 kB / 1.149 GB, free: 161 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.642e-05/1.967, allocations: 110.3 kB / 1.149 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/1.967, allocations: 45.53 kB / 1.15 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/1.967, allocations: 161.4 kB / 1.15 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.967, allocations: 0 / 1.15 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.967, allocations: 3.906 kB / 1.15 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.967, allocations: 0 / 1.15 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/1.968, allocations: 340.9 kB / 1.15 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.968, allocations: 0 / 1.15 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/1.968, allocations: 34.5 kB / 1.15 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/1.968, allocations: 0 / 1.15 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/1.968, allocations: 7.688 kB / 1.15 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.968, allocations: 0 / 1.15 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.968, allocations: 3.625 kB / 1.15 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003904/1.968, allocations: 287.5 kB / 1.15 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.968, allocations: 138.3 kB / 1.15 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/1.968, allocations: 0 / 1.15 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/1.969, allocations: 31.55 kB / 1.15 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/1.969, allocations: 2.812 kB / 1.15 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/1.969, allocations: 7.219 kB / 1.151 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003757/1.969, allocations: 371.6 kB / 1.151 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008687/1.97, allocations: 262.6 kB / 1.151 GB, free: 160.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001081/1.971, allocations: 0.5149 MB / 1.152 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004425/1.972, allocations: 267.7 kB / 1.152 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.972, allocations: 0 / 1.152 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/1.972, allocations: 44.06 kB / 1.152 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/1.973, allocations: 202.8 kB / 1.152 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/1.977, allocations: 0.8727 MB / 1.153 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/1.977, allocations: 0.8909 MB / 1.154 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/1.977, allocations: 0 / 1.154 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.02122/1.998, allocations: 10.91 MB / 1.164 GB, free: 159 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)