Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.001316/0.001316, allocations: 196.5 kB / 376.9 MB, free: 1.828 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.659/1.659, allocations: 205.1 MB / 0.6354 GB, free: 9.816 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.00103/0.00103, allocations: 101 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2798, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7925/1.072, allocations: 191.6 MB / 1.169 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01016/1.083, allocations: 5.047 MB / 1.174 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/1.085, allocations: 50.25 kB / 1.174 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/1.087, allocations: 0.7259 MB / 1.175 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.007928/1.095, allocations: 2.405 MB / 1.177 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/1.099, allocations: 1.022 MB / 1.178 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005193/1.104, allocations: 3.607 MB / 1.182 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.106, allocations: 0.8431 MB / 1.183 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/1.108, allocations: 1.044 MB / 1.184 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/1.11, allocations: 1.024 MB / 1.185 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/1.11, allocations: 64.06 kB / 1.185 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004479/1.115, allocations: 2.072 MB / 1.187 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005474/1.115, allocations: 431.7 kB / 1.187 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009377/1.116, allocations: 0.6428 MB / 1.188 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004633/1.121, allocations: 2.275 MB / 1.19 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.121, allocations: 3.281 kB / 1.19 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.252e-06/1.121, allocations: 0 / 1.19 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.571e-05/1.121, allocations: 0 / 1.19 GB, free: 0.9883 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006275/1.127, allocations: 1.98 MB / 1.192 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/1.127, allocations: 9.281 kB / 1.192 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/1.133, allocations: 0.8891 MB / 1.193 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/1.135, allocations: 0.9225 MB / 1.194 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/1.135, allocations: 72.47 kB / 1.194 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/1.135, allocations: 90.44 kB / 1.194 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/1.139, allocations: 1.587 MB / 1.195 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/1.139, allocations: 1.156 kB / 1.195 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.139, allocations: 32.31 kB / 1.195 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/1.139, allocations: 47.69 kB / 1.196 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005651/1.145, allocations: 1.857 MB / 1.197 GB, free: 13.97 MB / 0.7917 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.008657/1.153, allocations: 4.741 MB / 1.202 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004946/1.158, allocations: 1.563 MB / 1.204 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/1.161, allocations: 0.8599 MB / 1.204 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/1.162, allocations: 0.9393 MB / 1.205 GB, free: 9.391 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002723/1.165, allocations: 0.9123 MB / 1.206 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=95): time 4.158e-06/1.165, allocations: 0 / 1.206 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of matching and sorting (n=95): time 0.008841/1.174, allocations: 2.462 MB / 1.209 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/1.174, allocations: 62.17 kB / 1.209 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/1.176, allocations: 1.207 MB / 1.21 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/1.176, allocations: 45.17 kB / 1.21 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/1.177, allocations: 0.5444 MB / 1.21 GB, free: 7.449 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/1.177, allocations: 326.1 kB / 1.211 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/1.178, allocations: 191.6 kB / 1.211 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.178, allocations: 346.7 kB / 1.211 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/1.18, allocations: 0.7003 MB / 1.212 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/1.183, allocations: 0.9324 MB / 1.213 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/1.188, allocations: 1.554 MB / 1.214 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/1.188, allocations: 1.344 kB / 1.214 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005847/1.194, allocations: 1.777 MB / 1.216 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.194, allocations: 7.625 kB / 1.216 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.194, allocations: 6.172 kB / 1.216 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.194, allocations: 13.94 kB / 1.216 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.196, allocations: 347.2 kB / 1.216 GB, free: 4.973 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/1.196, allocations: 9.875 kB / 1.216 GB, free: 4.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.198, allocations: 256.1 kB / 1.217 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.198, allocations: 47.48 kB / 1.217 GB, free: 4.883 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006856/1.199, allocations: 338 kB / 1.217 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/1.199, allocations: 138.8 kB / 1.217 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/1.205, allocations: 1.805 MB / 1.219 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.205, allocations: 10.44 kB / 1.219 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.205, allocations: 5.016 kB / 1.219 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.205, allocations: 4.5 kB / 1.219 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008605/1.214, allocations: 3.33 MB / 1.222 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/1.214, allocations: 3.938 kB / 1.222 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.215, allocations: 299.8 kB / 1.222 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/1.215, allocations: 7.781 kB / 1.222 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.216, allocations: 37.19 kB / 1.223 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/1.216, allocations: 9.25 kB / 1.223 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.216, allocations: 8.781 kB / 1.223 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.233, allocations: 6.767 MB / 1.229 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008864/1.233, allocations: 317.6 kB / 1.229 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/1.234, allocations: 27.66 kB / 1.229 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.235, allocations: 177.8 kB / 1.23 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/1.236, allocations: 74.31 kB / 1.23 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.236, allocations: 42.33 kB / 1.23 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00133/1.237, allocations: 0.8366 MB / 1.231 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.51e-07/1.237, allocations: 1.125 kB / 1.231 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001985/1.239, allocations: 433 kB / 1.231 GB, free: 14.29 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001451/1.241, allocations: 0.5374 MB / 1.232 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005372/1.246, allocations: 1.623 MB / 1.233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.246, allocations: 0 / 1.233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.249, allocations: 0.8444 MB / 1.234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/1.252, allocations: 0.6008 MB / 1.235 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007798/1.26, allocations: 3.906 MB / 1.238 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.261, allocations: 1.221 MB / 1.24 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002/1.263, allocations: 375.9 kB / 1.24 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/1.264, allocations: 117.9 kB / 1.24 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of SimCode: time 9.72e-07/1.264, allocations: 2.438 kB / 1.24 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.04415/1.308, allocations: 24.02 MB / 1.263 GB, free: 2.969 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)