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.001084/0.001084, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001123/0.001123, allocations: 188 kB / 17.3 MB, free: 5.617 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.2 MB, free: 12.25 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.857/1.857, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001626/0.001626, allocations: 67.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2406, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6336/0.8742, allocations: 193.9 MB / 0.9741 GB, free: 8.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.8849, allocations: 5.002 MB / 0.979 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.8866, allocations: 47.69 kB / 0.979 GB, free: 3.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.8888, allocations: 0.8119 MB / 0.9798 GB, free: 2.23 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.006929/0.8957, allocations: 2.568 MB / 0.9823 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.8988, allocations: 1.111 MB / 0.9834 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004032/0.9028, allocations: 2.578 MB / 0.9859 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.9048, allocations: 0.8962 MB / 0.9868 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.9075, allocations: 1.097 MB / 0.9879 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.9094, allocations: 0.9611 MB / 0.9888 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.9099, allocations: 80 kB / 0.9889 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.9141, allocations: 1.781 MB / 0.9906 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000726/0.9149, allocations: 438.6 kB / 0.991 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.9163, allocations: 0.6604 MB / 0.9917 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.9211, allocations: 2.196 MB / 0.9938 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9212, allocations: 4 kB / 0.9938 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9212, allocations: 0 / 0.9938 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.587e-05/0.9213, allocations: 0 / 0.9938 GB, free: 3.82 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.005804/0.9271, allocations: 1.94 MB / 0.9957 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.9271, allocations: 16.03 kB / 0.9958 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.9317, allocations: 0.7044 MB / 0.9964 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.934, allocations: 0.9684 MB / 0.9974 GB, free: 80 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/0.9341, allocations: 70.5 kB / 0.9975 GB, free: 12 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.9344, allocations: 95.97 kB / 0.9975 GB, free: 15.92 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/0.9382, allocations: 1.461 MB / 0.999 GB, free: 14.4 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9382, allocations: 3.938 kB / 0.999 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.9383, allocations: 40.48 kB / 0.999 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/0.9384, allocations: 45.98 kB / 0.9991 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004486/0.9429, allocations: 1.562 MB / 1.001 GB, free: 12.75 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.007832/0.9508, allocations: 5.015 MB / 1.005 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.9543, allocations: 1.188 MB / 1.007 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.9561, allocations: 0.6648 MB / 1.007 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.9574, allocations: 0.941 MB / 1.008 GB, free: 4.492 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/0.9594, allocations: 0.7257 MB / 1.009 GB, free: 3.754 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 3.968e-06/0.9595, allocations: 0.5625 kB / 1.009 GB, free: 3.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=82): time 0.006275/0.9657, allocations: 1.964 MB / 1.011 GB, free: 1.785 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.9658, allocations: 64 kB / 1.011 GB, free: 1.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.9677, allocations: 1.273 MB / 1.012 GB, free: 424 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.9678, allocations: 41.7 kB / 1.012 GB, free: 376 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/0.9684, allocations: 0.5835 MB / 1.013 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.9687, allocations: 274 kB / 1.013 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.9691, allocations: 190.5 kB / 1.013 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9692, allocations: 345.9 kB / 1.014 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.9709, allocations: 0.5523 MB / 1.014 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.9729, allocations: 0.8378 MB / 1.015 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.9764, allocations: 1.34 MB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.9764, allocations: 3.938 kB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004246/0.9807, allocations: 1.515 MB / 1.018 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.9807, allocations: 12.16 kB / 1.018 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.9808, allocations: 8 kB / 1.018 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.9808, allocations: 15.98 kB / 1.018 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.9822, allocations: 287.6 kB / 1.018 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/0.9823, allocations: 15.94 kB / 1.018 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.9838, allocations: 206.7 kB / 1.018 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.9839, allocations: 50.66 kB / 1.018 GB, free: 9.926 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.0006424/0.9846, allocations: 347.5 kB / 1.019 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/0.9849, allocations: 134.3 kB / 1.019 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.9891, allocations: 1.444 MB / 1.02 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.9891, allocations: 8 kB / 1.02 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.9891, allocations: 4 kB / 1.02 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.9892, allocations: 7.969 kB / 1.02 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006439/0.9956, allocations: 2.88 MB / 1.023 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.9956, allocations: 4.875 kB / 1.023 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.9969, allocations: 232.1 kB / 1.023 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.9969, allocations: 8 kB / 1.023 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/0.997, allocations: 27.97 kB / 1.023 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.9971, allocations: 8 kB / 1.023 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.9971, allocations: 7.938 kB / 1.023 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/1.003, allocations: 2.309 MB / 1.025 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/1.004, allocations: 311.1 kB / 1.026 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/1.004, allocations: 16 kB / 1.026 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.005, allocations: 107.9 kB / 1.026 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.005, allocations: 72.3 kB / 1.026 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/1.005, allocations: 39.97 kB / 1.026 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001316/1.007, allocations: 0.8805 MB / 1.027 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.007, allocations: 0 / 1.027 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001162/1.008, allocations: 311.7 kB / 1.027 GB, free: 0.5781 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.001385/1.009, allocations: 0.5395 MB / 1.028 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003933/1.013, allocations: 1.316 MB / 1.029 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.013, allocations: 4 kB / 1.029 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.015, allocations: 0.656 MB / 1.03 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.018, allocations: 0.6412 MB / 1.03 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/1.024, allocations: 2.64 MB / 1.033 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/1.025, allocations: 1.178 MB / 1.034 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/1.026, allocations: 127.4 kB / 1.034 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/1.026, allocations: 0 / 1.034 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.03388/1.06, allocations: 21.18 MB / 1.055 GB, free: 4.707 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)