Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 188.5 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 0.6354 GB, free: 9.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 92.53 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3004, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03414/0.3346, allocations: 29.21 MB / 1.011 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3467, allocations: 6.766 MB / 1.017 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.3486, allocations: 43.69 kB / 1.017 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.3504, allocations: 0.6027 MB / 1.018 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.3549, allocations: 1.326 MB / 1.019 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.358, allocations: 1.049 MB / 1.02 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.5154/0.8734, allocations: 3.211 MB / 1.023 GB, free: 65.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.8753, allocations: 0.7172 MB / 1.024 GB, free: 65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.8777, allocations: 0.9599 MB / 1.025 GB, free: 65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.8792, allocations: 0.8365 MB / 1.026 GB, free: 64.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.8793, allocations: 44 kB / 1.026 GB, free: 64.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.8812, allocations: 0.7654 MB / 1.027 GB, free: 64.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.8815, allocations: 264.3 kB / 1.027 GB, free: 64.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0006236/0.8822, allocations: 0.5309 MB / 1.027 GB, free: 64.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.8846, allocations: 1.588 MB / 1.029 GB, free: 64.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.8846, allocations: 1.938 kB / 1.029 GB, free: 64.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.183e-06/0.8846, allocations: 0 / 1.029 GB, free: 64.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.8846, allocations: 4 kB / 1.029 GB, free: 64.45 MB / 0.7448 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.002607/0.8872, allocations: 1.582 MB / 1.031 GB, free: 63.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.8873, allocations: 8.281 kB / 1.031 GB, free: 63.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.8905, allocations: 0.5809 MB / 1.031 GB, free: 63.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.8919, allocations: 0.8248 MB / 1.032 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.8919, allocations: 59.31 kB / 1.032 GB, free: 63.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.8921, allocations: 73.19 kB / 1.032 GB, free: 63.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.8945, allocations: 1.105 MB / 1.033 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.8945, allocations: 3.875 kB / 1.033 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.8946, allocations: 31.08 kB / 1.033 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.8947, allocations: 18.59 kB / 1.033 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/0.8978, allocations: 1 MB / 1.034 GB, free: 62.81 MB / 0.7448 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.006054/0.9039, allocations: 4.94 MB / 1.039 GB, free: 59.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.9071, allocations: 0.9026 MB / 1.04 GB, free: 59.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.9086, allocations: 486.1 kB / 1.04 GB, free: 59.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.9098, allocations: 1.592 MB / 1.042 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001743/0.9115, allocations: 0.573 MB / 1.042 GB, free: 57.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 3.667e-06/0.9116, allocations: 0 / 1.042 GB, free: 57.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.004997/0.9166, allocations: 1.493 MB / 1.044 GB, free: 57.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.9166, allocations: 58.19 kB / 1.044 GB, free: 57.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.9184, allocations: 1.122 MB / 1.045 GB, free: 57.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.9185, allocations: 41.58 kB / 1.045 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.9189, allocations: 0.5517 MB / 1.046 GB, free: 57.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.9191, allocations: 208.5 kB / 1.046 GB, free: 57.06 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.9194, allocations: 169.3 kB / 1.046 GB, free: 57.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.9195, allocations: 338.1 kB / 1.046 GB, free: 56.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.921, allocations: 451 kB / 1.047 GB, free: 56.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.9227, allocations: 0.7353 MB / 1.047 GB, free: 56.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.9256, allocations: 1.12 MB / 1.049 GB, free: 56.06 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.9257, allocations: 2.438 kB / 1.049 GB, free: 56.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003777/0.9294, allocations: 1.272 MB / 1.05 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.9295, allocations: 13.66 kB / 1.05 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.9295, allocations: 6.125 kB / 1.05 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.9295, allocations: 12.62 kB / 1.05 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.9307, allocations: 282.5 kB / 1.05 GB, free: 55.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.9307, allocations: 14.75 kB / 1.05 GB, free: 55.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.9321, allocations: 198.9 kB / 1.05 GB, free: 55.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.9322, allocations: 50.73 kB / 1.05 GB, free: 55.86 MB / 0.7448 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.0004969/0.9327, allocations: 286.1 kB / 1.051 GB, free: 55.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.9328, allocations: 128 kB / 1.051 GB, free: 55.67 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.9364, allocations: 1.363 MB / 1.052 GB, free: 55.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.9364, allocations: 9.562 kB / 1.052 GB, free: 55.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9364, allocations: 0 / 1.052 GB, free: 55.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.9364, allocations: 4.266 kB / 1.052 GB, free: 55.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.9411, allocations: 2.378 MB / 1.054 GB, free: 55.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.9412, allocations: 7.281 kB / 1.054 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.9421, allocations: 184.5 kB / 1.055 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.9421, allocations: 3.125 kB / 1.055 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.9422, allocations: 24.03 kB / 1.055 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.9422, allocations: 13.08 kB / 1.055 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.9422, allocations: 1.359 kB / 1.055 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/0.9509, allocations: 5.001 MB / 1.06 GB, free: 53.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.9513, allocations: 278.8 kB / 1.06 GB, free: 53.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.9515, allocations: 16.72 kB / 1.06 GB, free: 53.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/0.9524, allocations: 132 kB / 1.06 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.9525, allocations: 48.02 kB / 1.06 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/0.9526, allocations: 35.03 kB / 1.06 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008123/0.9534, allocations: 0.7683 MB / 1.061 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9534, allocations: 0 / 1.061 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001328/0.9547, allocations: 433 kB / 1.061 GB, free: 53.03 MB / 0.7448 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.001395/0.9561, allocations: 0.653 MB / 1.062 GB, free: 52.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003085/0.9592, allocations: 1.115 MB / 1.063 GB, free: 52.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9592, allocations: 0 / 1.063 GB, free: 52.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.9607, allocations: 0.5726 MB / 1.063 GB, free: 52.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.9628, allocations: 454.1 kB / 1.064 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.9676, allocations: 3.14 MB / 1.067 GB, free: 51.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.9682, allocations: 1.129 MB / 1.068 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001101/0.9693, allocations: 252.6 kB / 1.068 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.9696, allocations: 109.9 kB / 1.068 GB, free: 50.5 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.9696, allocations: 0 / 1.068 GB, free: 50.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.0335/1.003, allocations: 20.13 MB / 1.088 GB, free: 48.86 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)