Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 115.4 kB / 16.39 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 191 kB / 17.32 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8706/0.8706, allocations: 143.1 MB / 434.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.78 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1744, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02946/0.2039, allocations: 29.34 MB / 0.7049 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.2144, allocations: 6.878 MB / 0.7117 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.216, allocations: 47.69 kB / 0.7117 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.2179, allocations: 0.6875 MB / 0.7124 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.2216, allocations: 1.462 MB / 0.7138 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.2245, allocations: 1.152 MB / 0.7149 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003486/0.228, allocations: 2.473 MB / 0.7173 GB, free: 144 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.2293, allocations: 0.7904 MB / 0.7181 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.2312, allocations: 1.019 MB / 0.7191 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.2323, allocations: 0.813 MB / 0.7199 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.2325, allocations: 68 kB / 0.72 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.2342, allocations: 0.8187 MB / 0.7208 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.2345, allocations: 275 kB / 0.721 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005424/0.235, allocations: 0.5515 MB / 0.7216 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.2373, allocations: 1.666 MB / 0.7232 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2374, allocations: 0 / 0.7232 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2374, allocations: 0 / 0.7232 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.2374, allocations: 4 kB / 0.7232 GB, free: 10.11 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002569/0.24, allocations: 1.562 MB / 0.7247 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.24, allocations: 8.031 kB / 0.7247 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.2434, allocations: 0.5962 MB / 0.7253 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.245, allocations: 0.868 MB / 0.7262 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.245, allocations: 54.38 kB / 0.7262 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.2452, allocations: 79.94 kB / 0.7263 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.2475, allocations: 1.096 MB / 0.7274 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2476, allocations: 7.922 kB / 0.7274 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.2477, allocations: 32 kB / 0.7274 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.2477, allocations: 20 kB / 0.7274 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.2507, allocations: 0.9962 MB / 0.7284 GB, free: 4.598 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005369/0.2561, allocations: 4.951 MB / 0.7332 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.259, allocations: 0.9078 MB / 0.7341 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.2605, allocations: 482.2 kB / 0.7346 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.2618, allocations: 1.596 MB / 0.7361 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.2634, allocations: 0.5689 MB / 0.7367 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/0.2634, allocations: 0 / 0.7367 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.004804/0.2683, allocations: 1.493 MB / 0.7381 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2683, allocations: 55.97 kB / 0.7382 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.2697, allocations: 1.108 MB / 0.7393 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.39e-05/0.2698, allocations: 49.7 kB / 0.7393 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.2702, allocations: 0.5395 MB / 0.7399 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.2704, allocations: 213.1 kB / 0.7401 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.2707, allocations: 162.4 kB / 0.7402 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2708, allocations: 341.9 kB / 0.7405 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.2723, allocations: 449.6 kB / 0.741 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.2739, allocations: 0.7125 MB / 0.7417 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.277, allocations: 1.124 MB / 0.7428 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.277, allocations: 4 kB / 0.7428 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003573/0.2806, allocations: 1.274 MB / 0.744 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.2806, allocations: 9.719 kB / 0.744 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2806, allocations: 8 kB / 0.744 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.2807, allocations: 12 kB / 0.744 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.2819, allocations: 268.3 kB / 0.7443 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/0.2819, allocations: 19.88 kB / 0.7443 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.2831, allocations: 186.9 kB / 0.7445 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.2832, allocations: 47.97 kB / 0.7445 GB, free: 3.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004656/0.2837, allocations: 287.8 kB / 0.7448 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.2839, allocations: 122.4 kB / 0.7449 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.2876, allocations: 1.365 MB / 0.7463 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.2876, allocations: 12 kB / 0.7463 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2877, allocations: 0 / 0.7463 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2877, allocations: 3.984 kB / 0.7463 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3503/0.6379, allocations: 2.38 MB / 0.7486 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.638, allocations: 2.031 kB / 0.7486 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.6391, allocations: 188.4 kB / 0.7488 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.6391, allocations: 3.75 kB / 0.7488 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.6392, allocations: 26.67 kB / 0.7488 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.6392, allocations: 7.391 kB / 0.7488 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6392, allocations: 4.062 kB / 0.7488 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.6445, allocations: 1.974 MB / 0.7507 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.6451, allocations: 273.7 kB / 0.751 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.6453, allocations: 18.14 kB / 0.751 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/0.6462, allocations: 111 kB / 0.7511 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.6464, allocations: 47.73 kB / 0.7512 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/0.6464, allocations: 38.41 kB / 0.7512 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001055/0.6475, allocations: 0.764 MB / 0.752 GB, free: 69.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6475, allocations: 0 / 0.752 GB, free: 69.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001242/0.6488, allocations: 345.2 kB / 0.7523 GB, free: 69.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/0.6504, allocations: 0.6714 MB / 0.7529 GB, free: 69.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00386/0.6543, allocations: 1.117 MB / 0.754 GB, free: 69.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6543, allocations: 0.6875 kB / 0.754 GB, free: 69.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.6562, allocations: 0.5783 MB / 0.7546 GB, free: 68.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.6585, allocations: 454.2 kB / 0.755 GB, free: 68.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/0.6641, allocations: 2.383 MB / 0.7574 GB, free: 67.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.6648, allocations: 1.1 MB / 0.7584 GB, free: 66.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.6654, allocations: 116.9 kB / 0.7585 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.6654, allocations: 0 / 0.7585 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.03567/0.7011, allocations: 19.24 MB / 0.7773 GB, free: 59.63 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)