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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001621/0.001621, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001635/0.001635, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.915/0.915, allocations: 143.3 MB / 434.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002134, allocations: 67.89 kB / 0.5151 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3926, allocations: 82.04 MB / 0.5952 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02722/0.4199, allocations: 29.33 MB / 0.6238 GB, free: 2.809 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.4316, allocations: 6.874 MB / 0.6305 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.4332, allocations: 51.62 kB / 0.6306 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.4351, allocations: 0.6992 MB / 0.6313 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.4393, allocations: 1.45 MB / 0.6327 GB, free: 9.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.4426, allocations: 1.151 MB / 0.6338 GB, free: 8.602 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.4463, allocations: 2.473 MB / 0.6362 GB, free: 6.125 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.4478, allocations: 0.7904 MB / 0.637 GB, free: 5.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.4501, allocations: 1.008 MB / 0.638 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.4514, allocations: 0.813 MB / 0.6388 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.4516, allocations: 68 kB / 0.6388 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.4538, allocations: 0.811 MB / 0.6396 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.4542, allocations: 278.9 kB / 0.6399 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007031/0.4549, allocations: 0.5475 MB / 0.6404 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.4577, allocations: 1.645 MB / 0.642 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4578, allocations: 0 / 0.642 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4578, allocations: 0 / 0.642 GB, free: 144 kB / 478.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.4578, allocations: 0 / 0.642 GB, free: 144 kB / 478.1 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.003046/0.4608, allocations: 1.57 MB / 0.6436 GB, free: 14.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4609, allocations: 16.03 kB / 0.6436 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.4645, allocations: 0.5845 MB / 0.6442 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.4659, allocations: 0.8017 MB / 0.6449 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.466, allocations: 58.38 kB / 0.645 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.4661, allocations: 75.94 kB / 0.6451 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.4687, allocations: 1.099 MB / 0.6461 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.4688, allocations: 11.97 kB / 0.6462 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.4689, allocations: 36 kB / 0.6462 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4689, allocations: 16 kB / 0.6462 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.472, allocations: 0.9962 MB / 0.6472 GB, free: 10.69 MB / 494.1 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.006418/0.4784, allocations: 4.97 MB / 0.652 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.4815, allocations: 0.9014 MB / 0.6529 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.483, allocations: 490.2 kB / 0.6534 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.4847, allocations: 1.592 MB / 0.6549 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.4864, allocations: 0.5728 MB / 0.6555 GB, free: 1.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 3.457e-06/0.4864, allocations: 0 / 0.6555 GB, free: 1.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.004959/0.4914, allocations: 1.489 MB / 0.6569 GB, free: 8 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.4915, allocations: 59.97 kB / 0.657 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.4929, allocations: 1.108 MB / 0.6581 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/0.493, allocations: 41.7 kB / 0.6581 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.4935, allocations: 0.5511 MB / 0.6587 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.4937, allocations: 209.1 kB / 0.6589 GB, free: 14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.494, allocations: 166.5 kB / 0.659 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4942, allocations: 337.9 kB / 0.6593 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.4957, allocations: 441.6 kB / 0.6598 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.4975, allocations: 0.7215 MB / 0.6605 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.5006, allocations: 1.117 MB / 0.6616 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5006, allocations: 3.938 kB / 0.6616 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003809/0.5044, allocations: 1.278 MB / 0.6628 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.5045, allocations: 8.125 kB / 0.6628 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.5045, allocations: 12 kB / 0.6628 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.5046, allocations: 12 kB / 0.6628 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.5058, allocations: 267.6 kB / 0.6631 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.5058, allocations: 15.94 kB / 0.6631 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.5071, allocations: 182.9 kB / 0.6633 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.5073, allocations: 47.97 kB / 0.6633 GB, free: 9.188 MB / 0.4981 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.0005166/0.5078, allocations: 287.8 kB / 0.6636 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.5081, allocations: 126.4 kB / 0.6637 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.512, allocations: 1.371 MB / 0.6651 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.5121, allocations: 8 kB / 0.6651 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5121, allocations: 0 / 0.6651 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5121, allocations: 3.984 kB / 0.6651 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005341/0.5174, allocations: 2.362 MB / 0.6674 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.5175, allocations: 4 kB / 0.6674 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5185, allocations: 187.9 kB / 0.6676 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.5186, allocations: 4 kB / 0.6676 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.5186, allocations: 27.97 kB / 0.6676 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.5186, allocations: 4 kB / 0.6676 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5187, allocations: 11.88 kB / 0.6676 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.5241, allocations: 1.973 MB / 0.6695 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.5246, allocations: 275.3 kB / 0.6698 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.5248, allocations: 20 kB / 0.6698 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009363/0.5258, allocations: 107.9 kB / 0.6699 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.5259, allocations: 56.38 kB / 0.67 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/0.526, allocations: 35.97 kB / 0.67 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00103/0.527, allocations: 0.7599 MB / 0.6708 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.527, allocations: 4 kB / 0.6708 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001188/0.5282, allocations: 351.6 kB / 0.6711 GB, free: 1.094 MB / 0.4981 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.002119/0.5303, allocations: 0.6576 MB / 0.6717 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003948/0.5343, allocations: 1.181 MB / 0.6729 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.5343, allocations: 4 kB / 0.6729 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.5361, allocations: 0.5736 MB / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.5382, allocations: 464.2 kB / 0.6739 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.5435, allocations: 2.402 MB / 0.6762 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.5444, allocations: 1.1 MB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/0.5449, allocations: 119.4 kB / 0.6774 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.5449, allocations: 4 kB / 0.6774 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.03216/0.5771, allocations: 19.26 MB / 0.6962 GB, free: 7.648 MB / 0.5294 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)