Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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.7017/0.7017, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001112/0.001112, allocations: 173.3 kB / 164.4 MB, free: 6.895 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.74/1.74, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009973/0.0009975, allocations: 85.72 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.121e-05/1.123e-05, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.373, allocations: 358 MB / 0.9705 GB, free: 124 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.373, allocations: 94.06 kB / 0.9706 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.7322/2.105, allocations: 172.1 MB / 1.139 GB, free: 169.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.417e-05/2.105, allocations: 20.61 kB / 1.139 GB, free: 169.2 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001654/2.107, allocations: 0.719 MB / 1.139 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/2.107, allocations: 7.281 kB / 1.139 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/2.107, allocations: 56.59 kB / 1.139 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/2.108, allocations: 419.2 kB / 1.14 GB, free: 168.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/2.108, allocations: 6.219 kB / 1.14 GB, free: 168.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/2.109, allocations: 26.84 kB / 1.14 GB, free: 168.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002858/2.109, allocations: 113 kB / 1.14 GB, free: 168.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/2.109, allocations: 156.2 kB / 1.14 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/2.109, allocations: 0 / 1.14 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/2.109, allocations: 7.609 kB / 1.14 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/2.109, allocations: 7.281 kB / 1.14 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/2.111, allocations: 1.191 MB / 1.141 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/2.111, allocations: 79.7 kB / 1.141 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/2.111, allocations: 26.98 kB / 1.141 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/2.111, allocations: 3.75 kB / 1.141 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/2.111, allocations: 30.56 kB / 1.141 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/2.111, allocations: 0 / 1.141 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0009821/2.112, allocations: 190.9 kB / 1.142 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/2.112, allocations: 54.72 kB / 1.142 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/2.113, allocations: 367.8 kB / 1.142 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/2.113, allocations: 28.2 kB / 1.142 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/2.113, allocations: 192.2 kB / 1.142 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/2.113, allocations: 21.95 kB / 1.142 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/2.113, allocations: 0 / 1.142 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/2.113, allocations: 348.4 kB / 1.143 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/2.113, allocations: 53.91 kB / 1.143 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/2.113, allocations: 147.7 kB / 1.143 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/2.114, allocations: 78.31 kB / 1.143 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/2.114, allocations: 2.156 kB / 1.143 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004678/2.114, allocations: 215.4 kB / 1.143 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/2.114, allocations: 276.8 kB / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/2.114, allocations: 0 / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/2.114, allocations: 3.438 kB / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/2.115, allocations: 64.23 kB / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/2.115, allocations: 0 / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/2.115, allocations: 63.72 kB / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/2.115, allocations: 15.06 kB / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/2.115, allocations: 10.75 kB / 1.143 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002932/2.116, allocations: 112.5 kB / 1.144 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/2.116, allocations: 0 / 1.144 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/2.116, allocations: 0 / 1.144 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/2.116, allocations: 49.95 kB / 1.144 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/2.116, allocations: 4.062 kB / 1.144 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/2.116, allocations: 33.22 kB / 1.144 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/2.116, allocations: 10.78 kB / 1.144 GB, free: 166.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001129/2.116, allocations: 118.6 kB / 1.144 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/2.117, allocations: 36.78 kB / 1.144 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/2.117, allocations: 128.2 kB / 1.144 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/2.117, allocations: 0 / 1.144 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.117, allocations: 0 / 1.144 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/2.117, allocations: 3.469 kB / 1.144 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/2.117, allocations: 310.8 kB / 1.144 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/2.117, allocations: 3.938 kB / 1.144 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/2.118, allocations: 39.17 kB / 1.144 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/2.118, allocations: 3.156 kB / 1.144 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/2.118, allocations: 0 / 1.144 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/2.118, allocations: 0 / 1.144 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.118, allocations: 0 / 1.144 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002685/2.118, allocations: 223.2 kB / 1.145 GB, free: 165.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/2.118, allocations: 123 kB / 1.145 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/2.118, allocations: 3.281 kB / 1.145 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/2.118, allocations: 41.52 kB / 1.145 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/2.119, allocations: 6.688 kB / 1.145 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/2.119, allocations: 0 / 1.145 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003176/2.119, allocations: 284 kB / 1.145 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009118/2.12, allocations: 220.4 kB / 1.145 GB, free: 165.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001245/2.121, allocations: 498.7 kB / 1.146 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000433/2.121, allocations: 200.4 kB / 1.146 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.121, allocations: 0 / 1.146 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/2.122, allocations: 39.66 kB / 1.146 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/2.123, allocations: 172.1 kB / 1.146 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/2.13, allocations: 1.018 MB / 1.147 GB, free: 165.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/2.13, allocations: 0.8728 MB / 1.148 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.475e-06/2.13, allocations: 0 / 1.148 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.01929/2.149, allocations: 9.384 MB / 1.157 GB, free: 164.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)