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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0008592/0.0008591, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009001/0.0009001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.94/0.94, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003102, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 83.4 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3144/0.4673, allocations: 24.56 MB / 0.6212 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008628/0.476, allocations: 5.955 MB / 0.6271 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.4775, allocations: 43.22 kB / 0.6271 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.4792, allocations: 0.6447 MB / 0.6277 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.4828, allocations: 1.209 MB / 0.6289 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.4862, allocations: 1.3 MB / 0.6302 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.489, allocations: 1.586 MB / 0.6317 GB, free: 24.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.49, allocations: 0.6719 MB / 0.6324 GB, free: 24.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.4916, allocations: 0.833 MB / 0.6332 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/0.4923, allocations: 0.5641 MB / 0.6338 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/0.4924, allocations: 37.78 kB / 0.6338 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.4941, allocations: 0.5219 MB / 0.6343 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.4943, allocations: 236.5 kB / 0.6345 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.4945, allocations: 230 kB / 0.6347 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.4956, allocations: 1.045 MB / 0.6358 GB, free: 23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4956, allocations: 0 / 0.6358 GB, free: 23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4957, allocations: 2.656 kB / 0.6358 GB, free: 23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.4957, allocations: 0 / 0.6358 GB, free: 23 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.002282/0.498, allocations: 1.38 MB / 0.6371 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.498, allocations: 17.06 kB / 0.6371 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.5014, allocations: 0.6264 MB / 0.6377 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.5026, allocations: 0.769 MB / 0.6385 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.5027, allocations: 56.75 kB / 0.6385 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.5028, allocations: 73.25 kB / 0.6386 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.505, allocations: 1.096 MB / 0.6397 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.505, allocations: 6.578 kB / 0.6397 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/0.5051, allocations: 35.25 kB / 0.6397 GB, free: 20.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.5051, allocations: 18.38 kB / 0.6397 GB, free: 20.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.5079, allocations: 1.017 MB / 0.6407 GB, free: 20.62 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.004819/0.5128, allocations: 4.978 MB / 0.6456 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.5155, allocations: 0.9523 MB / 0.6465 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.5165, allocations: 1.598 MB / 0.6481 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.518, allocations: 0.5782 MB / 0.6487 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.386e-06/0.518, allocations: 5.156 kB / 0.6487 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004652/0.5227, allocations: 1.515 MB / 0.6501 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.5228, allocations: 60.89 kB / 0.6502 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.5242, allocations: 1.101 MB / 0.6513 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.5243, allocations: 46.17 kB / 0.6513 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.5247, allocations: 0.5415 MB / 0.6518 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.5248, allocations: 215.9 kB / 0.6521 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.5249, allocations: 15.44 kB / 0.6521 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.525, allocations: 332.9 kB / 0.6524 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.5264, allocations: 462.6 kB / 0.6528 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.5281, allocations: 0.7127 MB / 0.6535 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.5296, allocations: 0.4972 MB / 0.654 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5296, allocations: 3.281 kB / 0.654 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003587/0.5332, allocations: 1.286 MB / 0.6553 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.5332, allocations: 9.531 kB / 0.6553 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.5332, allocations: 8.25 kB / 0.6553 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.5333, allocations: 13.03 kB / 0.6553 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.5346, allocations: 282.1 kB / 0.6556 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.5346, allocations: 13.7 kB / 0.6556 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.536, allocations: 203 kB / 0.6558 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5361, allocations: 47.67 kB / 0.6558 GB, free: 11.41 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005715/0.5367, allocations: 303.5 kB / 0.6561 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5369, allocations: 124.1 kB / 0.6562 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.5409, allocations: 1.378 MB / 0.6576 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.541, allocations: 8.609 kB / 0.6576 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.541, allocations: 1.344 kB / 0.6576 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.541, allocations: 3.75 kB / 0.6576 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/0.5464, allocations: 2.393 MB / 0.6599 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5464, allocations: 1.25 kB / 0.6599 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.5475, allocations: 198.1 kB / 0.6601 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.5475, allocations: 5.344 kB / 0.6601 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.5476, allocations: 28.16 kB / 0.6601 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.5476, allocations: 9.406 kB / 0.6602 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5476, allocations: 2.469 kB / 0.6602 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/0.5529, allocations: 2.079 MB / 0.6622 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.5535, allocations: 285.4 kB / 0.6625 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.5537, allocations: 19.05 kB / 0.6625 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/0.5547, allocations: 129.5 kB / 0.6626 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.5548, allocations: 50.39 kB / 0.6626 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/0.5549, allocations: 33.42 kB / 0.6627 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0011/0.556, allocations: 0.7568 MB / 0.6634 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.556, allocations: 7.938 kB / 0.6634 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001242/0.5573, allocations: 339.9 kB / 0.6637 GB, free: 8.203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.5587, allocations: 0.6546 MB / 0.6644 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003466/0.5622, allocations: 1.129 MB / 0.6655 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5622, allocations: 1 kB / 0.6655 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.5639, allocations: 0.5845 MB / 0.6661 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.5659, allocations: 418.7 kB / 0.6665 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.571, allocations: 2.703 MB / 0.6691 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.5717, allocations: 1.128 MB / 0.6702 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001144/0.5728, allocations: 245.2 kB / 0.6704 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.5731, allocations: 109.2 kB / 0.6705 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5731, allocations: 0 / 0.6705 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of Templates: time 0.03567/0.6088, allocations: 18.67 MB / 0.6888 GB, free: 13.8 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: