Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005105/0.005105, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001187/0.001187, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.538/1.538, allocations: 205.1 MB / 222.6 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.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.001549/0.001549, allocations: 75.91 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2211, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7731/0.9942, allocations: 194.1 MB / 1.018 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009912/1.004, allocations: 5.148 MB / 1.023 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/1.006, allocations: 47.44 kB / 1.023 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/1.008, allocations: 0.8056 MB / 1.024 GB, free: 0.9609 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.007356/1.016, allocations: 2.572 MB / 1.026 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/1.019, allocations: 1.115 MB / 1.027 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004047/1.023, allocations: 2.571 MB / 1.03 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/1.024, allocations: 0.9002 MB / 1.031 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/1.027, allocations: 1.094 MB / 1.032 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/1.028, allocations: 0.9607 MB / 1.033 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/1.028, allocations: 84.53 kB / 1.033 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/1.033, allocations: 1.785 MB / 1.034 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/1.033, allocations: 442.6 kB / 1.035 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007662/1.034, allocations: 0.6565 MB / 1.035 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003737/1.038, allocations: 2.206 MB / 1.038 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.038, allocations: 0 / 1.038 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.853e-06/1.038, allocations: 0 / 1.038 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.647e-05/1.038, allocations: 0 / 1.038 GB, free: 6.125 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.004884/1.043, allocations: 2.002 MB / 1.04 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.043, allocations: 12.03 kB / 1.04 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/1.047, allocations: 0.7091 MB / 1.04 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/1.049, allocations: 0.9852 MB / 1.041 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/1.049, allocations: 66 kB / 1.041 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/1.049, allocations: 88.88 kB / 1.041 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/1.052, allocations: 1.473 MB / 1.043 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.052, allocations: 0 / 1.043 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.052, allocations: 32 kB / 1.043 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.597e-05/1.052, allocations: 49.98 kB / 1.043 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/1.056, allocations: 1.561 MB / 1.044 GB, free: 14.97 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.006906/1.063, allocations: 5.032 MB / 1.049 GB, free: 9.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/1.067, allocations: 1.181 MB / 1.05 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.068, allocations: 0.6658 MB / 1.051 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.07, allocations: 0.941 MB / 1.052 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/1.072, allocations: 0.7316 MB / 1.053 GB, free: 5.957 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 3.898e-06/1.072, allocations: 0 / 1.053 GB, free: 5.957 MB / 0.795 GB Notification: Performance of matching and sorting (n=82): time 0.00622/1.078, allocations: 1.961 MB / 1.055 GB, free: 3.988 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/1.078, allocations: 60.06 kB / 1.055 GB, free: 3.918 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/1.08, allocations: 1.283 MB / 1.056 GB, free: 2.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/1.08, allocations: 41.7 kB / 1.056 GB, free: 2.566 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/1.081, allocations: 0.5881 MB / 1.057 GB, free: 1.973 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/1.081, allocations: 293.5 kB / 1.057 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/1.081, allocations: 186.6 kB / 1.057 GB, free: 1.492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.081, allocations: 341.9 kB / 1.057 GB, free: 1.152 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.083, allocations: 0.5445 MB / 1.058 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/1.085, allocations: 0.8469 MB / 1.059 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003479/1.088, allocations: 1.34 MB / 1.06 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.088, allocations: 4 kB / 1.06 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004256/1.093, allocations: 1.527 MB / 1.062 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/1.093, allocations: 8 kB / 1.062 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.093, allocations: 11.83 kB / 1.062 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/1.093, allocations: 12 kB / 1.062 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.094, allocations: 287.7 kB / 1.062 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/1.094, allocations: 27.86 kB / 1.062 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/1.096, allocations: 210.2 kB / 1.062 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.096, allocations: 43.97 kB / 1.062 GB, free: 12.09 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.0006735/1.096, allocations: 347.7 kB / 1.062 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/1.097, allocations: 143.1 kB / 1.063 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004237/1.101, allocations: 1.444 MB / 1.064 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/1.101, allocations: 8 kB / 1.064 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.101, allocations: 0 / 1.064 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.101, allocations: 7.984 kB / 1.064 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005978/1.107, allocations: 2.885 MB / 1.067 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.107, allocations: 4 kB / 1.067 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.108, allocations: 220.2 kB / 1.067 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/1.108, allocations: 8 kB / 1.067 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/1.109, allocations: 31.97 kB / 1.067 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/1.109, allocations: 7.938 kB / 1.067 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.109, allocations: 11.94 kB / 1.067 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005807/1.114, allocations: 2.315 MB / 1.069 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007557/1.115, allocations: 319.9 kB / 1.07 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/1.116, allocations: 20 kB / 1.07 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.117, allocations: 111.9 kB / 1.07 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.117, allocations: 68.36 kB / 1.07 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/1.117, allocations: 35.92 kB / 1.07 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001582/1.119, allocations: 0.8805 MB / 1.071 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/1.119, allocations: 0 / 1.071 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0016/1.12, allocations: 319.7 kB / 1.071 GB, free: 2.719 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.001911/1.122, allocations: 0.5328 MB / 1.072 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004069/1.126, allocations: 1.32 MB / 1.073 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.126, allocations: 0 / 1.073 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/1.128, allocations: 0.6599 MB / 1.073 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.131, allocations: 0.649 MB / 1.074 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/1.137, allocations: 2.598 MB / 1.077 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.138, allocations: 1.186 MB / 1.078 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001564/1.14, allocations: 346.4 kB / 1.078 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/1.14, allocations: 115.4 kB / 1.078 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of SimCode: time 1.262e-06/1.14, allocations: 0 / 1.078 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.04533/1.186, allocations: 23.8 MB / 1.101 GB, free: 3.941 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)