Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [: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.7079/0.7079, allocations: 127.4 MB / 134.6 MB, free: 4.113 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.001203/0.001203, allocations: 173.3 kB / 164.4 MB, free: 6.898 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.645/1.645, 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.001105/0.001105, allocations: 92.34 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.095e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1898, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.34, allocations: 356.1 MB / 0.9687 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.34, allocations: 96.45 kB / 0.9687 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.8509/2.191, allocations: 232.1 MB / 1.195 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001134/2.191, allocations: 18.78 kB / 1.195 GB, free: 145.3 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002867/2.194, allocations: 0.9576 MB / 1.196 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/2.194, allocations: 8.594 kB / 1.196 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/2.196, allocations: 273.6 kB / 1.197 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/2.198, allocations: 0.5125 MB / 1.197 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/2.198, allocations: 13.67 kB / 1.197 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/2.198, allocations: 33.25 kB / 1.197 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001173/2.2, allocations: 389.4 kB / 1.198 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/2.201, allocations: 0.5289 MB / 1.198 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/2.201, allocations: 4.969 kB / 1.198 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/2.201, allocations: 6.531 kB / 1.198 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/2.201, allocations: 11.66 kB / 1.198 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/2.206, allocations: 3.357 MB / 1.201 GB, free: 141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/2.207, allocations: 292.6 kB / 1.202 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/2.207, allocations: 178.9 kB / 1.202 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/2.207, allocations: 183.6 kB / 1.202 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/2.207, allocations: 41.11 kB / 1.202 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 4.769e-06/2.207, allocations: 0 / 1.202 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.006676/2.214, allocations: 1.189 MB / 1.203 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/2.214, allocations: 54.91 kB / 1.203 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/2.215, allocations: 430 kB / 1.204 GB, free: 140 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/2.215, allocations: 31.19 kB / 1.204 GB, free: 140 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/2.215, allocations: 272.3 kB / 1.204 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/2.215, allocations: 111.3 kB / 1.204 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/2.216, allocations: 0 / 1.204 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001678/2.216, allocations: 370.9 kB / 1.204 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/2.216, allocations: 226.9 kB / 1.205 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/2.217, allocations: 412.1 kB / 1.205 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/2.22, allocations: 0.6151 MB / 1.206 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/2.22, allocations: 1.25 kB / 1.206 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003866/2.224, allocations: 1.084 MB / 1.207 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004265/2.224, allocations: 1.744 MB / 1.208 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/2.224, allocations: 5.234 kB / 1.208 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007176/2.225, allocations: 191.3 kB / 1.209 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/2.226, allocations: 213.1 kB / 1.209 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/2.229, allocations: 0.9159 MB / 1.21 GB, free: 135.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/2.23, allocations: 171 kB / 1.21 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/2.231, allocations: 36.66 kB / 1.21 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/2.231, allocations: 11.5 kB / 1.21 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003541/2.234, allocations: 0.9508 MB / 1.211 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/2.234, allocations: 5.094 kB / 1.211 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/2.234, allocations: 15.36 kB / 1.211 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/2.236, allocations: 246.9 kB / 1.211 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/2.236, allocations: 12.42 kB / 1.211 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/2.237, allocations: 155.1 kB / 1.211 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/2.237, allocations: 35.98 kB / 1.211 GB, free: 135.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003214/2.238, allocations: 128.9 kB / 1.211 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/2.238, allocations: 58.22 kB / 1.211 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/2.242, allocations: 0.9988 MB / 1.212 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/2.242, allocations: 3.969 kB / 1.212 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/2.242, allocations: 2.969 kB / 1.212 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/2.242, allocations: 5.047 kB / 1.212 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/2.249, allocations: 2.15 MB / 1.214 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/2.25, allocations: 0 / 1.214 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/2.25, allocations: 159.4 kB / 1.215 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/2.251, allocations: 173.5 kB / 1.215 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/2.251, allocations: 16.03 kB / 1.215 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/2.254, allocations: 0.8979 MB / 1.216 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.254, allocations: 4.062 kB / 1.216 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005559/2.259, allocations: 1.401 MB / 1.217 GB, free: 132 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/2.26, allocations: 201 kB / 1.217 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/2.26, allocations: 3.906 kB / 1.217 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/2.261, allocations: 133.2 kB / 1.217 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/2.261, allocations: 22.33 kB / 1.217 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/2.261, allocations: 23.5 kB / 1.217 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005226/2.262, allocations: 322 kB / 1.218 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002032/2.264, allocations: 379.1 kB / 1.218 GB, free: 131.5 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008705/2.265, allocations: 357.3 kB / 1.218 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003357/2.268, allocations: 1.038 MB / 1.219 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.268, allocations: 384 / 1.219 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/2.27, allocations: 381.3 kB / 1.22 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/2.271, allocations: 231 kB / 1.22 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/2.274, allocations: 0.9148 MB / 1.221 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007914/2.274, allocations: 1.017 MB / 1.222 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/2.275, allocations: 0 / 1.222 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.03413/2.309, allocations: 18.7 MB / 1.24 GB, free: 115.9 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)