Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7254/0.7254, allocations: 128.7 MB / 144.5 MB, free: 1.387 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.001183/0.001183, allocations: 195.5 kB / 174.2 MB, free: 5.938 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.43/1.43, allocations: 205.1 MB / 408.9 MB, free: 9.691 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.0009655/0.0009655, allocations: 97.73 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 57.31 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1391, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4853/0.6245, allocations: 164.4 MB / 0.7922 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.6427, allocations: 16.2 MB / 0.808 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.6447, allocations: 20.62 kB / 0.8081 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.6465, allocations: 388.6 kB / 0.8084 GB, free: 11 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.003465/0.65, allocations: 0.8261 MB / 0.8092 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.6537, allocations: 1.285 MB / 0.8105 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.6568, allocations: 2.68 MB / 0.8131 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.6587, allocations: 1.62 MB / 0.8147 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005672/0.6644, allocations: 1.182 MB / 0.8158 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.6657, allocations: 0.8664 MB / 0.8167 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.666, allocations: 101.1 kB / 0.8168 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.6677, allocations: 0.6438 MB / 0.8174 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.6681, allocations: 451.8 kB / 0.8178 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009234/0.669, allocations: 0.843 MB / 0.8187 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.672, allocations: 2.614 MB / 0.8212 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.672, allocations: 0 / 0.8212 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/0.672, allocations: 0 / 0.8212 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.967e-05/0.6721, allocations: 0 / 0.8212 GB, free: 5.801 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.003994/0.6761, allocations: 2.045 MB / 0.8232 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6761, allocations: 9.781 kB / 0.8232 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.6801, allocations: 0.5221 MB / 0.8237 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.6823, allocations: 0.9644 MB / 0.8247 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-05/0.6824, allocations: 124.2 kB / 0.8248 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.6826, allocations: 157.8 kB / 0.825 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/0.6861, allocations: 1.744 MB / 0.8267 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.6861, allocations: 0 / 0.8267 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.6863, allocations: 69.47 kB / 0.8267 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.6864, allocations: 40.28 kB / 0.8268 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/0.6899, allocations: 1.792 MB / 0.8285 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007965/0.6978, allocations: 4.908 MB / 0.8333 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.7008, allocations: 1.366 MB / 0.8346 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.7021, allocations: 0.6215 MB / 0.8352 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009997/0.7031, allocations: 0.8789 MB / 0.8361 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/0.7048, allocations: 0.8476 MB / 0.8369 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=129): time 3.246e-06/0.7048, allocations: 0 / 0.8369 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.006022/0.7108, allocations: 2.383 MB / 0.8393 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.7109, allocations: 124.1 kB / 0.8394 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/0.7118, allocations: 0.7042 MB / 0.8401 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.7119, allocations: 49.7 kB / 0.8401 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.7124, allocations: 0.5898 MB / 0.8407 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.7127, allocations: 427.4 kB / 0.8411 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.7131, allocations: 214.8 kB / 0.8413 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7132, allocations: 349.9 kB / 0.8416 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.7143, allocations: 446.4 kB / 0.8421 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.7155, allocations: 0.569 MB / 0.8426 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.7178, allocations: 1.025 MB / 0.8436 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7178, allocations: 0 / 0.8436 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003551/0.7214, allocations: 1.402 MB / 0.845 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.7214, allocations: 8 kB / 0.845 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7214, allocations: 96 / 0.845 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/0.7224, allocations: 199.4 kB / 0.8452 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.7236, allocations: 247.6 kB / 0.8454 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/0.7292, allocations: 6.809 MB / 0.8521 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.7305, allocations: 155 kB / 0.8522 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.7306, allocations: 47.95 kB / 0.8523 GB, free: 11.08 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim1.tStart,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007141/0.7313, allocations: 349 kB / 0.8526 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.7316, allocations: 114.7 kB / 0.8527 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/0.7359, allocations: 1.702 MB / 0.8544 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.7359, allocations: 15.98 kB / 0.8544 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7359, allocations: 8 kB / 0.8544 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.7359, allocations: 3.984 kB / 0.8544 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.738, allocations: 1.386 MB / 0.8557 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.738, allocations: 0 / 0.8557 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.7391, allocations: 239.6 kB / 0.856 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008728/0.74, allocations: 196.1 kB / 0.8562 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.7402, allocations: 35.97 kB / 0.8562 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005479/0.7456, allocations: 6.839 MB / 0.8629 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7457, allocations: 7.922 kB / 0.8629 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006199/0.7519, allocations: 2.845 MB / 0.8657 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/0.7528, allocations: 379.2 kB / 0.866 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.753, allocations: 31.98 kB / 0.8661 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.7544, allocations: 131.6 kB / 0.8662 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.7547, allocations: 89.19 kB / 0.8663 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.7548, allocations: 63.94 kB / 0.8663 GB, free: 11.83 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007188/0.7556, allocations: 0.4951 MB / 0.8668 GB, free: 11.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7556, allocations: 0 / 0.8668 GB, free: 11.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001647/0.7572, allocations: 0.5376 MB / 0.8673 GB, free: 10.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/0.7587, allocations: 0.6557 MB / 0.868 GB, free: 10.35 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003473/0.7622, allocations: 1.739 MB / 0.8697 GB, free: 8.543 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7622, allocations: 0.6562 kB / 0.8697 GB, free: 8.539 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.7643, allocations: 1.243 MB / 0.8709 GB, free: 7.234 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.7662, allocations: 415.9 kB / 0.8713 GB, free: 6.832 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.7734, allocations: 4.075 MB / 0.8753 GB, free: 2.723 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.7745, allocations: 1.271 MB / 0.8765 GB, free: 1.422 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002018/0.7766, allocations: 396.2 kB / 0.8769 GB, free: 1.031 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.777, allocations: 127.4 kB / 0.877 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of SimCode: time 6.72e-07/0.7771, allocations: 0 / 0.877 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of Templates: time 0.04164/0.8187, allocations: 23.52 MB / 0.9 GB, free: 9.551 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)