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.001067/0.001067, allocations: 108.3 kB / 16.29 MB, free: 6.43 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.001033/0.001033, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.383/1.383, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.795/1.795, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001391/0.001391, allocations: 67.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2101, allocations: 114.5 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6123/0.8225, allocations: 193.9 MB / 0.9734 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008912/0.8314, allocations: 4.996 MB / 0.9783 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.8329, allocations: 51.62 kB / 0.9783 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.8347, allocations: 0.812 MB / 0.9791 GB, free: 2.727 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.006447/0.8412, allocations: 2.575 MB / 0.9816 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.844, allocations: 1.106 MB / 0.9827 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.8476, allocations: 2.57 MB / 0.9852 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.849, allocations: 0.904 MB / 0.9861 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.8509, allocations: 1.094 MB / 0.9871 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.852, allocations: 0.9548 MB / 0.9881 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.8522, allocations: 80 kB / 0.9882 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.8555, allocations: 1.793 MB / 0.9899 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.856, allocations: 442.6 kB / 0.9903 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007181/0.8567, allocations: 0.6565 MB / 0.991 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.86, allocations: 2.196 MB / 0.9931 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.86, allocations: 0 / 0.9931 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.86, allocations: 0 / 0.9931 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.86, allocations: 0 / 0.9931 GB, free: 4.316 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.004597/0.8646, allocations: 1.944 MB / 0.995 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.8647, allocations: 8.031 kB / 0.995 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.869, allocations: 0.7044 MB / 0.9957 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.8704, allocations: 0.9137 MB / 0.9966 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.8705, allocations: 66 kB / 0.9967 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.8707, allocations: 84 kB / 0.9967 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.8738, allocations: 1.471 MB / 0.9982 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.8738, allocations: 4 kB / 0.9982 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.8739, allocations: 36 kB / 0.9982 GB, free: 14.92 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.874, allocations: 45.98 kB / 0.9983 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003991/0.878, allocations: 1.565 MB / 0.9998 GB, free: 13.31 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.006327/0.8843, allocations: 5.011 MB / 1.005 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.8876, allocations: 1.18 MB / 1.006 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.8893, allocations: 0.6804 MB / 1.007 GB, free: 6.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.8906, allocations: 0.9371 MB / 1.007 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/0.8924, allocations: 0.7264 MB / 1.008 GB, free: 4.312 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 3.697e-06/0.8924, allocations: 0 / 1.008 GB, free: 4.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=82): time 0.00587/0.8983, allocations: 1.952 MB / 1.01 GB, free: 2.355 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.8984, allocations: 60.06 kB / 1.01 GB, free: 2.285 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.8999, allocations: 1.28 MB / 1.011 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.9, allocations: 41.7 kB / 1.011 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.9005, allocations: 0.5795 MB / 1.012 GB, free: 360 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.9008, allocations: 280 kB / 1.012 GB, free: 76 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.9011, allocations: 186.5 kB / 1.012 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9012, allocations: 349.9 kB / 1.013 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.9028, allocations: 0.5367 MB / 1.013 GB, free: 15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.9045, allocations: 0.861 MB / 1.014 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.9077, allocations: 1.328 MB / 1.015 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.9077, allocations: 4.5 kB / 1.015 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003856/0.9116, allocations: 1.527 MB / 1.017 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9116, allocations: 9.719 kB / 1.017 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.9116, allocations: 8.094 kB / 1.017 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.9116, allocations: 12.56 kB / 1.017 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.9131, allocations: 292.1 kB / 1.017 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.9131, allocations: 19.92 kB / 1.017 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.9145, allocations: 198.8 kB / 1.017 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.9146, allocations: 51.97 kB / 1.017 GB, free: 10.48 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.0005344/0.9151, allocations: 353.2 kB / 1.018 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.9153, allocations: 135 kB / 1.018 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.9191, allocations: 1.45 MB / 1.019 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.9191, allocations: 8 kB / 1.019 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9192, allocations: 0 / 1.019 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.9192, allocations: 3.984 kB / 1.019 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.9249, allocations: 2.883 MB / 1.022 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.9249, allocations: 4 kB / 1.022 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.9262, allocations: 222.6 kB / 1.022 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.9262, allocations: 12 kB / 1.022 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-05/0.9263, allocations: 31.97 kB / 1.022 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.9263, allocations: 11.92 kB / 1.022 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.9263, allocations: 4 kB / 1.022 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.9316, allocations: 2.311 MB / 1.025 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.9321, allocations: 309.1 kB / 1.025 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.9323, allocations: 23.98 kB / 1.025 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.9334, allocations: 107.9 kB / 1.025 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9336, allocations: 68.36 kB / 1.025 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.9337, allocations: 35.97 kB / 1.025 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00101/0.9347, allocations: 0.8766 MB / 1.026 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9347, allocations: 0 / 1.026 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00099/0.9357, allocations: 315.7 kB / 1.026 GB, free: 1.137 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.001282/0.937, allocations: 0.5425 MB / 1.027 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00356/0.9405, allocations: 1.32 MB / 1.028 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9405, allocations: 0 / 1.028 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.9423, allocations: 0.656 MB / 1.029 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.9449, allocations: 0.6458 MB / 1.029 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.9493, allocations: 2.563 MB / 1.032 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.95, allocations: 1.178 MB / 1.033 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001124/0.9512, allocations: 346.7 kB / 1.033 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.9516, allocations: 119.4 kB / 1.034 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of SimCode: time 6.543e-06/0.9516, allocations: 0 / 1.034 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of Templates: time 0.03848/0.9901, allocations: 23.61 MB / 1.057 GB, free: 2.734 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)