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.004975/0.004975, allocations: 103.4 kB / 15.73 MB, free: 6.035 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.001208/0.001209, allocations: 189.8 kB / 16.67 MB, free: 5.965 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 1.02/1.02, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 0.5956 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4335, allocations: 82.02 MB / 0.6757 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02897/0.4625, allocations: 29.35 MB / 0.7043 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.4726, allocations: 6.871 MB / 0.711 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.4739, allocations: 51.62 kB / 0.7111 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.4755, allocations: 0.6875 MB / 0.7117 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.4791, allocations: 1.454 MB / 0.7132 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.4818, allocations: 1.165 MB / 0.7143 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.4849, allocations: 2.473 MB / 0.7167 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.486, allocations: 0.7826 MB / 0.7175 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.4878, allocations: 1.039 MB / 0.7185 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.4889, allocations: 0.8169 MB / 0.7193 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.489, allocations: 75.94 kB / 0.7194 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.4908, allocations: 0.8149 MB / 0.7202 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.4911, allocations: 278.9 kB / 0.7204 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005571/0.4916, allocations: 0.5515 MB / 0.721 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.4938, allocations: 1.668 MB / 0.7226 GB, free: 6.254 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4938, allocations: 3.938 kB / 0.7226 GB, free: 6.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4938, allocations: 0 / 0.7226 GB, free: 6.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.4938, allocations: 0 / 0.7226 GB, free: 6.25 MB / 0.545 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.002578/0.4964, allocations: 1.57 MB / 0.7241 GB, free: 4.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4964, allocations: 12.03 kB / 0.7241 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.5, allocations: 0.5845 MB / 0.7247 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.5016, allocations: 0.8757 MB / 0.7256 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.5017, allocations: 58.38 kB / 0.7256 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.5018, allocations: 75.94 kB / 0.7257 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.5043, allocations: 1.096 MB / 0.7268 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5043, allocations: 11.94 kB / 0.7268 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.5044, allocations: 32 kB / 0.7268 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5044, allocations: 16 kB / 0.7268 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/0.5076, allocations: 0.9962 MB / 0.7278 GB, free: 0.7305 MB / 0.545 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.005719/0.5133, allocations: 4.94 MB / 0.7326 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.5164, allocations: 0.9087 MB / 0.7335 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.5179, allocations: 486.2 kB / 0.734 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.5193, allocations: 1.588 MB / 0.7355 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.521, allocations: 0.5806 MB / 0.7361 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.045e-06/0.521, allocations: 0 / 0.7361 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005024/0.5261, allocations: 1.481 MB / 0.7375 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5261, allocations: 63.97 kB / 0.7376 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.5275, allocations: 1.108 MB / 0.7387 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/0.5276, allocations: 41.69 kB / 0.7387 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.5281, allocations: 0.5472 MB / 0.7393 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.5284, allocations: 217 kB / 0.7395 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.5286, allocations: 166.5 kB / 0.7396 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5288, allocations: 337.9 kB / 0.7399 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.5304, allocations: 445.6 kB / 0.7404 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.5321, allocations: 0.7203 MB / 0.7411 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/0.5353, allocations: 1.12 MB / 0.7422 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5353, allocations: 4 kB / 0.7422 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003771/0.5391, allocations: 1.27 MB / 0.7434 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5391, allocations: 8 kB / 0.7434 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5391, allocations: 12 kB / 0.7434 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.5392, allocations: 12 kB / 0.7434 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.5404, allocations: 271.8 kB / 0.7437 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.5405, allocations: 15.98 kB / 0.7437 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.5417, allocations: 182.9 kB / 0.7439 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-05/0.5418, allocations: 51.91 kB / 0.7439 GB, free: 15.26 MB / 0.5762 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.0004721/0.5423, allocations: 295.8 kB / 0.7442 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.5425, allocations: 126.5 kB / 0.7443 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.5465, allocations: 1.358 MB / 0.7457 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5465, allocations: 12 kB / 0.7457 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5465, allocations: 0 / 0.7457 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5465, allocations: 3.984 kB / 0.7457 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005245/0.5518, allocations: 2.374 MB / 0.748 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.5518, allocations: 8.188 kB / 0.748 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.5529, allocations: 187.7 kB / 0.7482 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.5529, allocations: 4 kB / 0.7482 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/0.553, allocations: 27.97 kB / 0.7482 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.553, allocations: 4 kB / 0.7482 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.553, allocations: 0 / 0.7482 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005244/0.5583, allocations: 1.977 MB / 0.7502 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.5588, allocations: 283.3 kB / 0.7504 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.559, allocations: 12 kB / 0.7504 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009933/0.56, allocations: 111.9 kB / 0.7505 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.5602, allocations: 52.44 kB / 0.7506 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.5602, allocations: 35.97 kB / 0.7506 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009985/0.5612, allocations: 0.7638 MB / 0.7514 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5613, allocations: 0 / 0.7514 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001117/0.5624, allocations: 343.6 kB / 0.7517 GB, free: 7.152 MB / 0.5762 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.001567/0.564, allocations: 0.6729 MB / 0.7524 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003568/0.5675, allocations: 1.118 MB / 0.7534 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5676, allocations: 3.938 kB / 0.7535 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.5693, allocations: 0.5697 MB / 0.754 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.5714, allocations: 452.3 kB / 0.7544 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.5766, allocations: 2.353 MB / 0.7567 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.5779, allocations: 1.1 MB / 0.7578 GB, free: 1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001314/0.5792, allocations: 240 kB / 0.758 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.5797, allocations: 115.4 kB / 0.7581 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.5797, allocations: 0 / 0.7581 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of Templates: time 0.03778/0.6175, allocations: 20.59 MB / 0.7783 GB, free: 12.37 MB / 0.6075 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)