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.001584/0.001584, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001633/0.001633, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.18 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.8567/0.8567, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002173, allocations: 63.91 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4231, allocations: 82.04 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02375/0.4469, allocations: 29.33 MB / 0.6243 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.4571, allocations: 6.892 MB / 0.6311 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.4584, allocations: 43.69 kB / 0.6311 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.4601, allocations: 0.6986 MB / 0.6318 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.4636, allocations: 1.455 MB / 0.6332 GB, free: 9.691 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.4665, allocations: 1.154 MB / 0.6343 GB, free: 8.547 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002885/0.4694, allocations: 2.469 MB / 0.6367 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.4705, allocations: 0.7904 MB / 0.6375 GB, free: 5.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4721, allocations: 1.019 MB / 0.6385 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009748/0.4731, allocations: 0.8091 MB / 0.6393 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.4733, allocations: 68 kB / 0.6394 GB, free: 3.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.4752, allocations: 0.8187 MB / 0.6402 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.4755, allocations: 278.9 kB / 0.6404 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005162/0.476, allocations: 0.5515 MB / 0.641 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.4781, allocations: 1.664 MB / 0.6426 GB, free: 56 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4782, allocations: 0 / 0.6426 GB, free: 56 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4782, allocations: 0 / 0.6426 GB, free: 56 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.4782, allocations: 4 kB / 0.6426 GB, free: 52 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.002485/0.4807, allocations: 1.562 MB / 0.6441 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4807, allocations: 8.031 kB / 0.6441 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.484, allocations: 0.5923 MB / 0.6447 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.4855, allocations: 0.8757 MB / 0.6456 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.4856, allocations: 54.38 kB / 0.6456 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.4857, allocations: 79.92 kB / 0.6457 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.4879, allocations: 1.099 MB / 0.6468 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.4879, allocations: 3.938 kB / 0.6468 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.488, allocations: 28 kB / 0.6468 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.488, allocations: 20 kB / 0.6468 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.4908, allocations: 0.9962 MB / 0.6478 GB, free: 10.54 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.005453/0.4963, allocations: 4.959 MB / 0.6526 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.4989, allocations: 0.899 MB / 0.6535 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.5003, allocations: 494.1 kB / 0.654 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/0.5019, allocations: 1.584 MB / 0.6555 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.5035, allocations: 0.5806 MB / 0.6561 GB, free: 1.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 4.659e-06/0.5035, allocations: 0 / 0.6561 GB, free: 1.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.004441/0.508, allocations: 1.485 MB / 0.6576 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.508, allocations: 59.91 kB / 0.6576 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.5093, allocations: 1.12 MB / 0.6587 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.5094, allocations: 41.7 kB / 0.6587 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.5098, allocations: 0.5472 MB / 0.6593 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.51, allocations: 205.1 kB / 0.6595 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.5102, allocations: 162.5 kB / 0.6596 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5103, allocations: 337.9 kB / 0.6599 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.5117, allocations: 453.6 kB / 0.6604 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.5132, allocations: 0.7128 MB / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.516, allocations: 1.113 MB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.516, allocations: 4 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003358/0.5194, allocations: 1.285 MB / 0.6634 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5194, allocations: 8 kB / 0.6634 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5194, allocations: 8 kB / 0.6634 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.5195, allocations: 12 kB / 0.6635 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5206, allocations: 268.3 kB / 0.6637 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.5207, allocations: 19.92 kB / 0.6637 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.5218, allocations: 182.9 kB / 0.6639 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-05/0.5219, allocations: 43.97 kB / 0.6639 GB, free: 9.051 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.0004323/0.5223, allocations: 291.8 kB / 0.6642 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.5225, allocations: 122.4 kB / 0.6643 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.526, allocations: 1.357 MB / 0.6657 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.526, allocations: 8 kB / 0.6657 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.526, allocations: 0 / 0.6657 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.526, allocations: 3.984 kB / 0.6657 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.5306, allocations: 2.37 MB / 0.668 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5306, allocations: 0 / 0.668 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009688/0.5316, allocations: 191.9 kB / 0.6682 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.5316, allocations: 4 kB / 0.6682 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.5317, allocations: 27.97 kB / 0.6682 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.5317, allocations: 4 kB / 0.6682 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.5317, allocations: 4 kB / 0.6682 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004615/0.5363, allocations: 1.977 MB / 0.6701 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.5368, allocations: 275.3 kB / 0.6704 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.5369, allocations: 27.98 kB / 0.6704 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.5378, allocations: 99.88 kB / 0.6705 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5379, allocations: 52.44 kB / 0.6706 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.538, allocations: 39.91 kB / 0.6706 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008415/0.5389, allocations: 0.7677 MB / 0.6714 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5389, allocations: 3.938 kB / 0.6714 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009709/0.5399, allocations: 343.7 kB / 0.6717 GB, free: 0.9766 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.001375/0.5412, allocations: 0.6602 MB / 0.6723 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.5443, allocations: 1.118 MB / 0.6734 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5443, allocations: 0 / 0.6734 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.5458, allocations: 0.5814 MB / 0.674 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.5476, allocations: 454.3 kB / 0.6744 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.5519, allocations: 2.334 MB / 0.6767 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.5525, allocations: 1.104 MB / 0.6778 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007688/0.5533, allocations: 251.9 kB / 0.678 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.5536, allocations: 111.3 kB / 0.6781 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.5536, allocations: 0 / 0.6781 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.03187/0.5855, allocations: 20.11 MB / 0.6978 GB, free: 6.707 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)