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.0007999/0.0008001, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.348 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.9829/0.9829, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003587, allocations: 11.98 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 83.41 MB / 0.5985 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3339/0.498, allocations: 28.43 MB / 0.6263 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008562/0.5067, allocations: 6.827 MB / 0.6329 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.5082, allocations: 40.94 kB / 0.633 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.5099, allocations: 0.605 MB / 0.6336 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.5136, allocations: 1.341 MB / 0.6349 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.5163, allocations: 1.04 MB / 0.6359 GB, free: 21.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003597/0.5199, allocations: 3.223 MB / 0.639 GB, free: 20.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.5212, allocations: 0.7095 MB / 0.6397 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.5231, allocations: 0.9221 MB / 0.6406 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.5243, allocations: 0.8204 MB / 0.6414 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.5244, allocations: 42.03 kB / 0.6415 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.5262, allocations: 0.7616 MB / 0.6422 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.5264, allocations: 241.7 kB / 0.6424 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.5269, allocations: 0.5432 MB / 0.643 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.5283, allocations: 1.156 MB / 0.6441 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5283, allocations: 0 / 0.6441 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5283, allocations: 0 / 0.6441 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.5283, allocations: 0 / 0.6441 GB, free: 18.67 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.002261/0.5306, allocations: 1.368 MB / 0.6454 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5306, allocations: 8.5 kB / 0.6454 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.534, allocations: 0.631 MB / 0.6461 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5352, allocations: 0.8094 MB / 0.6469 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.5352, allocations: 57.91 kB / 0.6469 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5354, allocations: 79.91 kB / 0.647 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.5376, allocations: 1.107 MB / 0.6481 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.5376, allocations: 5.188 kB / 0.6481 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.386e-05/0.5377, allocations: 31.59 kB / 0.6481 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.5377, allocations: 19.84 kB / 0.6481 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.5405, allocations: 1.02 MB / 0.6491 GB, free: 16.26 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.005053/0.5456, allocations: 4.987 MB / 0.654 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.5485, allocations: 0.9466 MB / 0.6549 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.55, allocations: 498.5 kB / 0.6554 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.5512, allocations: 1.608 MB / 0.657 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/0.5529, allocations: 0.59 MB / 0.6575 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.306e-06/0.5529, allocations: 0 / 0.6575 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00498/0.5579, allocations: 1.513 MB / 0.659 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.558, allocations: 59.28 kB / 0.6591 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.5596, allocations: 1.117 MB / 0.6602 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.5598, allocations: 39.88 kB / 0.6602 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.5602, allocations: 0.5498 MB / 0.6607 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.5603, allocations: 204.7 kB / 0.6609 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.5605, allocations: 70.98 kB / 0.661 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.5605, allocations: 335.6 kB / 0.6613 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.5621, allocations: 460.6 kB / 0.6618 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.5637, allocations: 0.7284 MB / 0.6625 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.5668, allocations: 1.141 MB / 0.6636 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.5669, allocations: 2.094 kB / 0.6636 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003862/0.5707, allocations: 1.301 MB / 0.6649 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.5708, allocations: 10.19 kB / 0.6649 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5708, allocations: 11.69 kB / 0.6649 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.5709, allocations: 15.59 kB / 0.6649 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.5721, allocations: 273.9 kB / 0.6652 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/0.5722, allocations: 14.61 kB / 0.6652 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.5736, allocations: 212.5 kB / 0.6654 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.5738, allocations: 44.58 kB / 0.6654 GB, free: 6.449 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.0005145/0.5743, allocations: 291.5 kB / 0.6657 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.5745, allocations: 128.3 kB / 0.6658 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/0.5785, allocations: 1.383 MB / 0.6672 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.5785, allocations: 8.641 kB / 0.6672 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5786, allocations: 2.266 kB / 0.6672 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5786, allocations: 3.328 kB / 0.6672 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005482/0.5841, allocations: 2.396 MB / 0.6695 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.5841, allocations: 1.969 kB / 0.6695 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.5851, allocations: 193.9 kB / 0.6697 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.5852, allocations: 3.75 kB / 0.6697 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.5852, allocations: 29.23 kB / 0.6697 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.5853, allocations: 4.562 kB / 0.6697 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5853, allocations: 3.328 kB / 0.6697 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/0.5906, allocations: 2.003 MB / 0.6717 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/0.5913, allocations: 288.4 kB / 0.672 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.5915, allocations: 15.52 kB / 0.672 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009821/0.5924, allocations: 126.2 kB / 0.6721 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.5926, allocations: 57.56 kB / 0.6722 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/0.5927, allocations: 33.59 kB / 0.6722 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001153/0.5939, allocations: 0.7635 MB / 0.6729 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5939, allocations: 3.938 kB / 0.6729 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00136/0.5952, allocations: 347.6 kB / 0.6733 GB, free: 3.359 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.001666/0.5969, allocations: 0.6747 MB / 0.6739 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00372/0.6006, allocations: 1.128 MB / 0.675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.6007, allocations: 0 / 0.675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.6025, allocations: 0.5906 MB / 0.6756 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.6052, allocations: 434.3 kB / 0.676 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005634/0.6108, allocations: 2.854 MB / 0.6788 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.6116, allocations: 1.104 MB / 0.6799 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.6122, allocations: 117.8 kB / 0.68 GB, free: 212 kB / 0.4981 GB Notification: Performance of SimCode: time 1.332e-06/0.6122, allocations: 0 / 0.68 GB, free: 212 kB / 0.4981 GB Notification: Performance of Templates: time 0.03641/0.6486, allocations: 19.06 MB / 0.6986 GB, free: 5.059 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)