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.001035/0.001035, allocations: 108.9 kB / 16.37 MB, free: 6.48 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.001009/0.001009, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.2 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.8475/0.8475, allocations: 143 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.08 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3334, allocations: 82.03 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03112/0.3646, allocations: 29.33 MB / 0.6243 GB, free: 2.797 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.3765, allocations: 6.894 MB / 0.6311 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.378, allocations: 47.69 kB / 0.6311 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.38, allocations: 0.6914 MB / 0.6318 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.3842, allocations: 1.46 MB / 0.6332 GB, free: 9.715 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.3873, allocations: 1.149 MB / 0.6343 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.3907, allocations: 2.473 MB / 0.6367 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.3922, allocations: 0.7981 MB / 0.6375 GB, free: 5.285 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.3946, allocations: 1.015 MB / 0.6385 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.3962, allocations: 0.813 MB / 0.6393 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.3965, allocations: 64 kB / 0.6394 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.3987, allocations: 0.8188 MB / 0.6402 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.3991, allocations: 274.9 kB / 0.6404 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008716/0.4, allocations: 0.5515 MB / 0.641 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.4029, allocations: 1.668 MB / 0.6426 GB, free: 76 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4029, allocations: 0 / 0.6426 GB, free: 76 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4029, allocations: 0 / 0.6426 GB, free: 76 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.408e-05/0.403, allocations: 0 / 0.6426 GB, free: 76 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.003176/0.4061, allocations: 1.559 MB / 0.6441 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4062, allocations: 16.02 kB / 0.6441 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.4096, allocations: 0.5923 MB / 0.6447 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.4114, allocations: 0.8757 MB / 0.6456 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/0.4115, allocations: 54.38 kB / 0.6456 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.4116, allocations: 79.94 kB / 0.6457 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.4142, allocations: 1.092 MB / 0.6468 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.4143, allocations: 7.938 kB / 0.6468 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.4143, allocations: 28 kB / 0.6468 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4144, allocations: 16 kB / 0.6468 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.4174, allocations: 1.004 MB / 0.6478 GB, free: 10.56 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.00622/0.4236, allocations: 4.955 MB / 0.6526 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.4266, allocations: 0.8982 MB / 0.6535 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.428, allocations: 494.4 kB / 0.654 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/0.4298, allocations: 1.587 MB / 0.6555 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.4316, allocations: 0.5806 MB / 0.6561 GB, free: 1.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 4.409e-06/0.4316, allocations: 0 / 0.6561 GB, free: 1.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.00498/0.4366, allocations: 1.485 MB / 0.6576 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.4366, allocations: 59.97 kB / 0.6576 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.4382, allocations: 1.108 MB / 0.6587 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-05/0.4383, allocations: 45.64 kB / 0.6587 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.4388, allocations: 0.5472 MB / 0.6593 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.439, allocations: 213 kB / 0.6595 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.4392, allocations: 162.5 kB / 0.6596 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4394, allocations: 338 kB / 0.66 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.4408, allocations: 449.6 kB / 0.6604 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.4424, allocations: 0.7166 MB / 0.6611 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/0.4454, allocations: 1.12 MB / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.4454, allocations: 0 / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003549/0.4489, allocations: 1.278 MB / 0.6634 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.449, allocations: 12.16 kB / 0.6634 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.449, allocations: 8 kB / 0.6634 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.449, allocations: 12 kB / 0.6635 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4502, allocations: 271.5 kB / 0.6637 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.4503, allocations: 15.94 kB / 0.6637 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.4515, allocations: 183 kB / 0.6639 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.4516, allocations: 43.98 kB / 0.6639 GB, free: 9.074 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.0004734/0.4521, allocations: 291.8 kB / 0.6642 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.4523, allocations: 122.4 kB / 0.6643 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.4561, allocations: 1.354 MB / 0.6657 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.4561, allocations: 15.98 kB / 0.6657 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4561, allocations: 0 / 0.6657 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4561, allocations: 7.969 kB / 0.6657 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.4612, allocations: 2.358 MB / 0.668 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4612, allocations: 4 kB / 0.668 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4623, allocations: 191.9 kB / 0.6682 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4623, allocations: 4 kB / 0.6682 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/0.4624, allocations: 27.97 kB / 0.6682 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.4624, allocations: 4 kB / 0.6682 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4624, allocations: 3.984 kB / 0.6682 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.4672, allocations: 1.981 MB / 0.6701 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/0.4677, allocations: 287.3 kB / 0.6704 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.468, allocations: 16 kB / 0.6704 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.4689, allocations: 103.9 kB / 0.6705 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.469, allocations: 52.44 kB / 0.6706 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.4691, allocations: 35.97 kB / 0.6706 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001061/0.4702, allocations: 0.7638 MB / 0.6714 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4702, allocations: 3.938 kB / 0.6714 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001119/0.4713, allocations: 343.6 kB / 0.6717 GB, free: 0.9961 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.001533/0.4729, allocations: 0.6681 MB / 0.6723 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003387/0.4763, allocations: 1.11 MB / 0.6734 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4763, allocations: 4 kB / 0.6734 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.4779, allocations: 0.5697 MB / 0.674 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.001977/0.4799, allocations: 452.5 kB / 0.6744 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.4848, allocations: 2.334 MB / 0.6767 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.4855, allocations: 1.108 MB / 0.6778 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008953/0.4864, allocations: 248.2 kB / 0.678 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.4867, allocations: 107.4 kB / 0.6781 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of SimCode: time 6.42e-07/0.4867, allocations: 4 kB / 0.6781 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.03347/0.5202, allocations: 20.12 MB / 0.6978 GB, free: 6.723 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)