Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001246, allocations: 101.4 kB / 16.27 MB, free: 6.418 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.001238/0.001238, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 75.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 114.5 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5774/0.8008, allocations: 193.9 MB / 0.9733 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009232/0.8101, allocations: 5.004 MB / 0.9782 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.8116, allocations: 51.62 kB / 0.9783 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.8137, allocations: 0.8081 MB / 0.979 GB, free: 2.777 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006444/0.8202, allocations: 2.571 MB / 0.9816 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.8231, allocations: 1.106 MB / 0.9826 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003694/0.8268, allocations: 2.57 MB / 0.9851 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.8282, allocations: 0.9001 MB / 0.986 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.8302, allocations: 1.082 MB / 0.9871 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.8316, allocations: 0.9611 MB / 0.988 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.8318, allocations: 80 kB / 0.9881 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.8353, allocations: 1.785 MB / 0.9898 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.8358, allocations: 450.6 kB / 0.9903 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008026/0.8367, allocations: 0.6526 MB / 0.9909 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.8404, allocations: 2.165 MB / 0.993 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8405, allocations: 0 / 0.993 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8405, allocations: 0 / 0.993 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.8405, allocations: 4 kB / 0.993 GB, free: 4.41 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004989/0.8455, allocations: 1.944 MB / 0.9949 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8456, allocations: 8.031 kB / 0.9949 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.85, allocations: 0.7082 MB / 0.9956 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.8516, allocations: 0.906 MB / 0.9965 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.8517, allocations: 66 kB / 0.9966 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.8519, allocations: 93.38 kB / 0.9967 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.8552, allocations: 1.469 MB / 0.9981 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.8552, allocations: 0.5 kB / 0.9981 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.8553, allocations: 36 kB / 0.9981 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/0.8554, allocations: 45.98 kB / 0.9982 GB, free: 14.97 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.8596, allocations: 1.561 MB / 0.9997 GB, free: 13.41 MB / 0.795 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.006944/0.8665, allocations: 5.038 MB / 1.005 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.8699, allocations: 1.18 MB / 1.006 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.8716, allocations: 0.6765 MB / 1.006 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.8729, allocations: 0.941 MB / 1.007 GB, free: 5.125 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.8749, allocations: 0.7321 MB / 1.008 GB, free: 4.379 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 3.707e-06/0.8749, allocations: 0 / 1.008 GB, free: 4.379 MB / 0.795 GB Notification: Performance of matching and sorting (n=82): time 0.00615/0.881, allocations: 1.948 MB / 1.01 GB, free: 2.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.8811, allocations: 60.06 kB / 1.01 GB, free: 2.355 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.8827, allocations: 1.277 MB / 1.011 GB, free: 1.059 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.8829, allocations: 52.14 kB / 1.011 GB, free: 1.004 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.8834, allocations: 0.5678 MB / 1.012 GB, free: 440 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.8837, allocations: 288 kB / 1.012 GB, free: 148 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.884, allocations: 182.5 kB / 1.012 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8841, allocations: 341.9 kB / 1.013 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.8858, allocations: 0.5484 MB / 1.013 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.8877, allocations: 0.8532 MB / 1.014 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/0.8911, allocations: 1.34 MB / 1.015 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.8912, allocations: 0 / 1.015 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004225/0.8954, allocations: 1.522 MB / 1.017 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.8955, allocations: 13.7 kB / 1.017 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.8955, allocations: 8 kB / 1.017 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/0.8955, allocations: 12 kB / 1.017 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.897, allocations: 295.8 kB / 1.017 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.8971, allocations: 16.56 kB / 1.017 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.8985, allocations: 198.8 kB / 1.017 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.8986, allocations: 47.98 kB / 1.017 GB, free: 10.56 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0005612/0.8992, allocations: 356.8 kB / 1.018 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.8994, allocations: 138.3 kB / 1.018 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.9035, allocations: 1.45 MB / 1.019 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.9036, allocations: 8 kB / 1.019 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9036, allocations: 0 / 1.019 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.9036, allocations: 7.984 kB / 1.019 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.9098, allocations: 2.869 MB / 1.022 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.9098, allocations: 4 kB / 1.022 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.9111, allocations: 228.2 kB / 1.022 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.9112, allocations: 4.562 kB / 1.022 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/0.9112, allocations: 31.97 kB / 1.022 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.9113, allocations: 11.94 kB / 1.022 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.9113, allocations: 4 kB / 1.022 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005972/0.9172, allocations: 2.315 MB / 1.025 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/0.9179, allocations: 303.1 kB / 1.025 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/0.9183, allocations: 24.66 kB / 1.025 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.9195, allocations: 111.9 kB / 1.025 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.9197, allocations: 60.38 kB / 1.025 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/0.9198, allocations: 38.22 kB / 1.025 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001225/0.921, allocations: 0.8843 MB / 1.026 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/0.921, allocations: 4 kB / 1.026 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001196/0.9222, allocations: 319.7 kB / 1.026 GB, free: 1.203 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.001365/0.9236, allocations: 0.5388 MB / 1.027 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004499/0.9281, allocations: 1.421 MB / 1.028 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.9282, allocations: 0 / 1.028 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.9302, allocations: 0.6599 MB / 1.029 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.9336, allocations: 0.6418 MB / 1.029 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.9393, allocations: 2.673 MB / 1.032 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/0.9402, allocations: 1.171 MB / 1.033 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/0.9409, allocations: 127.4 kB / 1.033 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of SimCode: time 1.072e-06/0.9409, allocations: 0 / 1.033 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.03412/0.975, allocations: 21.18 MB / 1.054 GB, free: 5.18 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)