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.001142/0.001142, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 188.6 kB / 16.62 MB, free: 6.582 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.513/1.513, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.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.747/1.747, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001492/0.001493, allocations: 73.97 kB / 0.6722 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6918/0.9231, allocations: 193.8 MB / 0.9734 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009066/0.9322, allocations: 4.997 MB / 0.9783 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.9339, allocations: 55.19 kB / 0.9783 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.9359, allocations: 0.8099 MB / 0.9791 GB, free: 15.16 MB / 0.7325 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.007147/0.943, allocations: 2.573 MB / 0.9816 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.9462, allocations: 1.118 MB / 0.9827 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003913/0.9501, allocations: 2.575 MB / 0.9853 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.9514, allocations: 0.8915 MB / 0.9861 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.9534, allocations: 1.097 MB / 0.9872 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.9545, allocations: 0.951 MB / 0.9881 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.9546, allocations: 81.69 kB / 0.9882 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.9582, allocations: 1.793 MB / 0.99 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.9587, allocations: 440.8 kB / 0.9904 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006406/0.9593, allocations: 0.657 MB / 0.991 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.9625, allocations: 2.197 MB / 0.9932 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9625, allocations: 0 / 0.9932 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9625, allocations: 0 / 0.9932 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.9625, allocations: 0 / 0.9932 GB, free: 8.242 MB / 0.7325 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.004734/0.9673, allocations: 1.954 MB / 0.9951 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9673, allocations: 9.469 kB / 0.9951 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.9715, allocations: 0.6991 MB / 0.9958 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.9731, allocations: 0.9734 MB / 0.9967 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.9732, allocations: 76.3 kB / 0.9968 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.9734, allocations: 88.17 kB / 0.9969 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.9764, allocations: 1.461 MB / 0.9983 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.9765, allocations: 0 / 0.9983 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.9766, allocations: 44.8 kB / 0.9983 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.9767, allocations: 43.05 kB / 0.9984 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.9806, allocations: 1.559 MB / 0.9999 GB, free: 4 MB / 0.7325 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.006601/0.9872, allocations: 5.026 MB / 1.005 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.9905, allocations: 1.182 MB / 1.006 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.9922, allocations: 0.6792 MB / 1.007 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.9935, allocations: 0.9384 MB / 1.008 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/0.9953, allocations: 0.7185 MB / 1.008 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.547e-06/0.9953, allocations: 3.938 kB / 1.008 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.005745/1.001, allocations: 1.952 MB / 1.01 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.001, allocations: 60.06 kB / 1.01 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.003, allocations: 1.281 MB / 1.011 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.003, allocations: 45.45 kB / 1.012 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/1.003, allocations: 0.5705 MB / 1.012 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/1.004, allocations: 282.6 kB / 1.012 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/1.004, allocations: 193.7 kB / 1.013 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.004, allocations: 344 kB / 1.013 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.006, allocations: 0.5453 MB / 1.013 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/1.008, allocations: 0.8513 MB / 1.014 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.011, allocations: 1.333 MB / 1.016 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/1.011, allocations: 7.375 kB / 1.016 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003991/1.015, allocations: 1.523 MB / 1.017 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.015, allocations: 7.438 kB / 1.017 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.015, allocations: 7.75 kB / 1.017 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/1.015, allocations: 12.19 kB / 1.017 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.016, allocations: 296.1 kB / 1.017 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/1.016, allocations: 19.34 kB / 1.017 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.018, allocations: 204.6 kB / 1.018 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.018, allocations: 48.77 kB / 1.018 GB, free: 7.98 MB / 0.7481 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.0006613/1.019, allocations: 347.6 kB / 1.018 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/1.019, allocations: 133.1 kB / 1.018 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/1.023, allocations: 1.447 MB / 1.019 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/1.023, allocations: 10.12 kB / 1.019 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.023, allocations: 0 / 1.019 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.023, allocations: 3.984 kB / 1.019 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/1.03, allocations: 2.87 MB / 1.022 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.03, allocations: 3.969 kB / 1.022 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.031, allocations: 227.3 kB / 1.022 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/1.031, allocations: 7.281 kB / 1.022 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.031, allocations: 34.09 kB / 1.023 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/1.031, allocations: 11.69 kB / 1.023 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.031, allocations: 4.906 kB / 1.023 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005915/1.037, allocations: 2.316 MB / 1.025 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007354/1.038, allocations: 303.3 kB / 1.025 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.038, allocations: 20 kB / 1.025 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.039, allocations: 117.9 kB / 1.025 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/1.04, allocations: 64.36 kB / 1.025 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/1.04, allocations: 35.97 kB / 1.025 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001406/1.041, allocations: 0.8805 MB / 1.026 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/1.041, allocations: 0 / 1.026 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001274/1.042, allocations: 315.7 kB / 1.026 GB, free: 1.383 MB / 0.7481 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.001421/1.044, allocations: 0.541 MB / 1.027 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003983/1.048, allocations: 1.312 MB / 1.028 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.048, allocations: 7.938 kB / 1.028 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.05, allocations: 0.6581 MB / 1.029 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.053, allocations: 0.6513 MB / 1.03 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/1.059, allocations: 2.567 MB / 1.032 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.06, allocations: 1.175 MB / 1.033 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00146/1.061, allocations: 350.3 kB / 1.034 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/1.062, allocations: 115.3 kB / 1.034 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of SimCode: time 8.72e-07/1.062, allocations: 7.938 kB / 1.034 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.04264/1.104, allocations: 23.61 MB / 1.057 GB, free: 2.863 MB / 0.7794 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)