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.001318/0.001318, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001514/0.001514, allocations: 187.9 kB / 16.25 MB, free: 6.629 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.9519/0.9519, allocations: 143 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.5137 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1578, allocations: 82.03 MB / 0.5938 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2871/0.4449, allocations: 29.1 MB / 0.6222 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008765/0.4537, allocations: 6.849 MB / 0.6289 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.4554, allocations: 43.84 kB / 0.6289 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.4569, allocations: 0.616 MB / 0.6295 GB, free: 23.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.4601, allocations: 1.356 MB / 0.6309 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.4625, allocations: 1.048 MB / 0.6319 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.4648, allocations: 2.501 MB / 0.6343 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008453/0.4657, allocations: 0.8036 MB / 0.6351 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.4671, allocations: 1.035 MB / 0.6361 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007127/0.4678, allocations: 0.8417 MB / 0.6369 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.4679, allocations: 65.75 kB / 0.637 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.4694, allocations: 0.8371 MB / 0.6378 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.4696, allocations: 285.2 kB / 0.6381 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.47, allocations: 0.5512 MB / 0.6386 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.4719, allocations: 1.646 MB / 0.6402 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4719, allocations: 2.656 kB / 0.6402 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4719, allocations: 4 kB / 0.6402 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.4719, allocations: 0 / 0.6402 GB, free: 18.68 MB / 0.4981 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.00212/0.4741, allocations: 1.565 MB / 0.6418 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4741, allocations: 11.53 kB / 0.6418 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.4774, allocations: 0.587 MB / 0.6424 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.4784, allocations: 0.8068 MB / 0.6431 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.4784, allocations: 58.12 kB / 0.6432 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4785, allocations: 74.41 kB / 0.6433 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.4806, allocations: 1.107 MB / 0.6444 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4807, allocations: 0 / 0.6444 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.4807, allocations: 28.28 kB / 0.6444 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4808, allocations: 18.53 kB / 0.6444 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.4835, allocations: 1.001 MB / 0.6454 GB, free: 16.15 MB / 0.4981 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.004585/0.4881, allocations: 4.958 MB / 0.6502 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.4908, allocations: 0.9055 MB / 0.6511 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.4922, allocations: 486.6 kB / 0.6516 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.4933, allocations: 1.59 MB / 0.6531 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.4949, allocations: 0.5742 MB / 0.6537 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.395e-06/0.4949, allocations: 0 / 0.6537 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004581/0.4995, allocations: 1.487 MB / 0.6551 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.4995, allocations: 57.47 kB / 0.6552 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.5008, allocations: 1.114 MB / 0.6563 GB, free: 9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.5009, allocations: 38.67 kB / 0.6563 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.5012, allocations: 0.5475 MB / 0.6568 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.5014, allocations: 211.9 kB / 0.657 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.5017, allocations: 169.2 kB / 0.6572 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.5018, allocations: 334.7 kB / 0.6575 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.5032, allocations: 455.1 kB / 0.658 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.5049, allocations: 0.7078 MB / 0.6587 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.5077, allocations: 1.122 MB / 0.6597 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5077, allocations: 10.19 kB / 0.6598 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003532/0.5113, allocations: 1.271 MB / 0.661 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.5113, allocations: 8.531 kB / 0.661 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5113, allocations: 7.625 kB / 0.661 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.5114, allocations: 14.02 kB / 0.661 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.5126, allocations: 271.1 kB / 0.6613 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.5126, allocations: 18.14 kB / 0.6613 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.514, allocations: 194.5 kB / 0.6615 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5141, allocations: 47.33 kB / 0.6615 GB, free: 6.289 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.0004615/0.5145, allocations: 289.2 kB / 0.6618 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.5147, allocations: 123.4 kB / 0.6619 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/0.5186, allocations: 1.369 MB / 0.6633 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.5186, allocations: 10.27 kB / 0.6633 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5186, allocations: 0 / 0.6633 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.5186, allocations: 4.891 kB / 0.6633 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/0.5237, allocations: 2.364 MB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5237, allocations: 2.812 kB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.5247, allocations: 186.6 kB / 0.6658 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.5248, allocations: 4.203 kB / 0.6658 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/0.5248, allocations: 29.16 kB / 0.6658 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.5248, allocations: 4.234 kB / 0.6658 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5249, allocations: 6.094 kB / 0.6658 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004874/0.5297, allocations: 1.973 MB / 0.6677 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.5301, allocations: 278.1 kB / 0.668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.5303, allocations: 16.22 kB / 0.668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.5313, allocations: 117.9 kB / 0.6681 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5314, allocations: 56.77 kB / 0.6682 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.5315, allocations: 37.48 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009867/0.5325, allocations: 0.7707 MB / 0.669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5325, allocations: 1.156 kB / 0.669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001238/0.5338, allocations: 346.6 kB / 0.6693 GB, free: 3.184 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.001419/0.5352, allocations: 0.6724 MB / 0.67 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003583/0.5388, allocations: 1.183 MB / 0.6711 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5388, allocations: 0 / 0.6711 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.5404, allocations: 0.5772 MB / 0.6717 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.5424, allocations: 454.3 kB / 0.6721 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.5469, allocations: 2.726 MB / 0.6748 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.5474, allocations: 1.102 MB / 0.6758 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001075/0.5485, allocations: 256.8 kB / 0.6761 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.5488, allocations: 108.2 kB / 0.6762 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.5489, allocations: 0 / 0.6762 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.035/0.5839, allocations: 19.94 MB / 0.6957 GB, free: 5.004 MB / 0.5137 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)