Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.5 kB / 16.41 MB, free: 6.492 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.001191/0.001191, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.297/1.297, 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.8559/0.8559, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 61.19 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1788, allocations: 82.04 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6424/0.8212, allocations: 193.9 MB / 0.8657 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009116/0.8304, allocations: 5.156 MB / 0.8708 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.8322, allocations: 51.62 kB / 0.8708 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.8341, allocations: 0.8081 MB / 0.8716 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.8409, allocations: 2.602 MB / 0.8741 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.8438, allocations: 1.112 MB / 0.8752 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003866/0.8477, allocations: 2.676 MB / 0.8778 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.8492, allocations: 0.9406 MB / 0.8788 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.8516, allocations: 1.14 MB / 0.8799 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.8531, allocations: 0.9885 MB / 0.8808 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.8532, allocations: 84 kB / 0.8809 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004724/0.8579, allocations: 1.793 MB / 0.8827 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007093/0.8587, allocations: 446.6 kB / 0.8831 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.8598, allocations: 0.6682 MB / 0.8837 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.8648, allocations: 2.274 MB / 0.886 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8648, allocations: 0 / 0.886 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8648, allocations: 0 / 0.886 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.8648, allocations: 0 / 0.886 GB, free: 7.012 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007479/0.8723, allocations: 1.961 MB / 0.8879 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.8724, allocations: 12.03 kB / 0.8879 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007798/0.8802, allocations: 0.8915 MB / 0.8888 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.8824, allocations: 0.9723 MB / 0.8897 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.8826, allocations: 69.94 kB / 0.8898 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.8828, allocations: 99.89 kB / 0.8899 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/0.8866, allocations: 1.587 MB / 0.8914 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.8866, allocations: 0 / 0.8914 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.8867, allocations: 32 kB / 0.8915 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.8868, allocations: 49.98 kB / 0.8915 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005268/0.8921, allocations: 1.846 MB / 0.8933 GB, free: 15.35 MB / 0.67 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.007815/0.8999, allocations: 4.73 MB / 0.8979 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/0.9045, allocations: 1.564 MB / 0.8995 GB, free: 8.809 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.9069, allocations: 0.8546 MB / 0.9003 GB, free: 7.949 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.9082, allocations: 0.9452 MB / 0.9012 GB, free: 6.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002656/0.9109, allocations: 0.911 MB / 0.9021 GB, free: 5.898 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 4.899e-06/0.9109, allocations: 0 / 0.9021 GB, free: 5.898 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.008086/0.919, allocations: 2.458 MB / 0.9045 GB, free: 3.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.9191, allocations: 64.41 kB / 0.9046 GB, free: 3.355 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.9208, allocations: 1.197 MB / 0.9057 GB, free: 2.148 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.9209, allocations: 49.7 kB / 0.9058 GB, free: 2.094 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.9215, allocations: 0.537 MB / 0.9063 GB, free: 1.551 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/0.9218, allocations: 327.3 kB / 0.9066 GB, free: 1.227 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.9222, allocations: 190.5 kB / 0.9068 GB, free: 1.035 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9224, allocations: 337.9 kB / 0.9071 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.9247, allocations: 0.7083 MB / 0.9078 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.9272, allocations: 0.9046 MB / 0.9087 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.9318, allocations: 1.554 MB / 0.9102 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.9318, allocations: 4 kB / 0.9102 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005406/0.9372, allocations: 1.788 MB / 0.912 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9373, allocations: 4 kB / 0.912 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.9373, allocations: 4 kB / 0.912 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/0.9373, allocations: 12 kB / 0.912 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.9391, allocations: 335.9 kB / 0.9123 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.939e-05/0.9391, allocations: 15.92 kB / 0.9123 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.9409, allocations: 238.5 kB / 0.9125 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.941, allocations: 47.97 kB / 0.9126 GB, free: 10.97 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006438/0.9417, allocations: 335.7 kB / 0.9129 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.942, allocations: 134.3 kB / 0.913 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/0.9476, allocations: 1.815 MB / 0.9148 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.9476, allocations: 8 kB / 0.9148 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.9476, allocations: 0 / 0.9148 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.9476, allocations: 3.984 kB / 0.9148 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/0.9558, allocations: 3.328 MB / 0.9181 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.9558, allocations: 7.938 kB / 0.9181 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.9575, allocations: 292.1 kB / 0.9184 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/0.9576, allocations: 8 kB / 0.9184 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.9577, allocations: 31.97 kB / 0.9184 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.9577, allocations: 15.94 kB / 0.9184 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9577, allocations: 4 kB / 0.9184 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007776/0.9655, allocations: 2.839 MB / 0.9212 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/0.9664, allocations: 327.2 kB / 0.9215 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.9667, allocations: 23.98 kB / 0.9215 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.9683, allocations: 155.8 kB / 0.9217 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.9685, allocations: 68.45 kB / 0.9217 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.9686, allocations: 43.97 kB / 0.9218 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001317/0.97, allocations: 0.8392 MB / 0.9226 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.97, allocations: 0 / 0.9226 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001243/0.9712, allocations: 335.6 kB / 0.9229 GB, free: 176 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001395/0.9726, allocations: 0.5473 MB / 0.9235 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005218/0.9778, allocations: 1.634 MB / 0.925 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.9779, allocations: 0 / 0.925 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002589/0.9805, allocations: 0.836 MB / 0.9259 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.9838, allocations: 0.6134 MB / 0.9265 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/0.9908, allocations: 3.042 MB / 0.9294 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009668/0.9918, allocations: 1.183 MB / 0.9306 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.9926, allocations: 131.3 kB / 0.9307 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of SimCode: time 1.002e-06/0.9926, allocations: 0 / 0.9307 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of Templates: time 0.03459/1.027, allocations: 21.95 MB / 0.9522 GB, free: 2.445 MB / 0.7169 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)