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/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.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/BuildSysPro 3.5.0/package.mo): time 0.726/0.726, allocations: 128.7 MB / 144.5 MB, free: 1.336 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.001141/0.001141, allocations: 188 kB / 174.2 MB, free: 5.934 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.36/1.36, allocations: 205 MB / 408.9 MB, free: 9.703 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.0008673/0.0008674, allocations: 102 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 52.14 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.123, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02998/0.153, allocations: 41.88 MB / 0.6726 GB, free: 7.031 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009283/0.1624, allocations: 6.765 MB / 0.6792 GB, free: 256 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1637, allocations: 47.62 kB / 0.6792 GB, free: 208 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.165, allocations: 0.591 MB / 0.6798 GB, free: 15.61 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.168, allocations: 1.33 MB / 0.6811 GB, free: 14.27 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.1705, allocations: 1.043 MB / 0.6821 GB, free: 13.24 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.1744, allocations: 3.425 MB / 0.6855 GB, free: 9.801 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.1756, allocations: 0.7504 MB / 0.6862 GB, free: 9.039 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.1775, allocations: 0.988 MB / 0.6872 GB, free: 8.047 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.1786, allocations: 0.8402 MB / 0.688 GB, free: 7.203 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1787, allocations: 44 kB / 0.688 GB, free: 7.16 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.1804, allocations: 0.7678 MB / 0.6888 GB, free: 6.391 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.1807, allocations: 247 kB / 0.689 GB, free: 6.148 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.1813, allocations: 0.5318 MB / 0.6895 GB, free: 5.613 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.1834, allocations: 1.612 MB / 0.6911 GB, free: 3.996 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1834, allocations: 0 / 0.6911 GB, free: 3.996 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1835, allocations: 0 / 0.6911 GB, free: 3.996 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.1835, allocations: 0 / 0.6911 GB, free: 3.996 MB / 474.7 MB 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.002654/0.1861, allocations: 1.578 MB / 0.6926 GB, free: 2.359 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1862, allocations: 12.03 kB / 0.6927 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/0.1896, allocations: 0.5884 MB / 0.6932 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.191, allocations: 0.8096 MB / 0.694 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.191, allocations: 54.38 kB / 0.6941 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.1912, allocations: 83.88 kB / 0.6942 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.1935, allocations: 1.092 MB / 0.6952 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1936, allocations: 7.938 kB / 0.6952 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.1936, allocations: 32 kB / 0.6953 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.1937, allocations: 16 kB / 0.6953 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.1967, allocations: 1 MB / 0.6962 GB, free: 14.53 MB / 490.7 MB 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.005591/0.2023, allocations: 4.85 MB / 0.701 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.2051, allocations: 0.8347 MB / 0.7018 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.2065, allocations: 449.8 kB / 0.7022 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.2078, allocations: 1.584 MB / 0.7038 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.2095, allocations: 0.5533 MB / 0.7043 GB, free: 5.609 MB / 490.7 MB Notification: Performance of pre-optimization done (n=55): time 3.266e-06/0.2095, allocations: 0 / 0.7043 GB, free: 5.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.004754/0.2142, allocations: 1.418 MB / 0.7057 GB, free: 4.184 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2143, allocations: 55.97 kB / 0.7058 GB, free: 4.117 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.2157, allocations: 1.145 MB / 0.7069 GB, free: 2.961 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.2158, allocations: 41.7 kB / 0.7069 GB, free: 2.914 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.2162, allocations: 0.5667 MB / 0.7075 GB, free: 2.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.2164, allocations: 197.4 kB / 0.7077 GB, free: 2.145 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.2166, allocations: 166.4 kB / 0.7078 GB, free: 1.977 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2167, allocations: 337.9 kB / 0.7081 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.2182, allocations: 445.6 kB / 0.7086 GB, free: 1.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.2199, allocations: 0.728 MB / 0.7093 GB, free: 356 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.2229, allocations: 1.1 MB / 0.7103 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.2229, allocations: 4 kB / 0.7103 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003494/0.2264, allocations: 1.251 MB / 0.7116 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2264, allocations: 8 kB / 0.7116 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2264, allocations: 12 kB / 0.7116 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.2265, allocations: 15.98 kB / 0.7116 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.2277, allocations: 267.6 kB / 0.7119 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/0.2277, allocations: 19.92 kB / 0.7119 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.229, allocations: 198.9 kB / 0.7121 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/0.2291, allocations: 39.98 kB / 0.7121 GB, free: 13.33 MB / 0.4948 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 (99): * Single equations (assignments): 99 * 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.0004422/0.2296, allocations: 299.7 kB / 0.7124 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.2298, allocations: 118.5 kB / 0.7125 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.2335, allocations: 1.311 MB / 0.7138 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.2335, allocations: 11.94 kB / 0.7138 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2335, allocations: 0 / 0.7138 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2336, allocations: 11.98 kB / 0.7138 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.2348, allocations: 0.9207 MB / 0.7147 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.2348, allocations: 4 kB / 0.7147 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.2358, allocations: 175.7 kB / 0.7149 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2358, allocations: 4 kB / 0.7149 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.2359, allocations: 19.97 kB / 0.7149 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.2359, allocations: 8 kB / 0.7149 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2359, allocations: 0 / 0.7149 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009671/0.2456, allocations: 4.814 MB / 0.7196 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.2459, allocations: 187.5 kB / 0.7198 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.2461, allocations: 19.94 kB / 0.7198 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/0.247, allocations: 119.9 kB / 0.7199 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2471, allocations: 40.5 kB / 0.72 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.2472, allocations: 27.97 kB / 0.72 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008872/0.2481, allocations: 0.7802 MB / 0.7207 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2481, allocations: 0 / 0.7207 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001233/0.2493, allocations: 427.5 kB / 0.7212 GB, free: 3.746 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 49 * 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.001382/0.2507, allocations: 0.6583 MB / 0.7218 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003306/0.254, allocations: 1.075 MB / 0.7228 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.254, allocations: 0 / 0.7228 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.2556, allocations: 0.5464 MB / 0.7234 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.2577, allocations: 449.9 kB / 0.7238 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.2629, allocations: 3.042 MB / 0.7268 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.2635, allocations: 1.127 MB / 0.7279 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001053/0.2646, allocations: 240.6 kB / 0.7281 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.2649, allocations: 111.3 kB / 0.7282 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.2649, allocations: 4 kB / 0.7282 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.2646/0.5295, allocations: 20.24 MB / 0.748 GB, free: 101.6 MB / 0.5105 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)