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.001458/0.001458, allocations: 104.3 kB / 16.36 MB, free: 5.961 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.001639/0.001639, allocations: 192.8 kB / 17.3 MB, free: 5.578 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.82/1.82, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001453/0.001453, allocations: 71.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2147, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5201/0.7348, allocations: 193.9 MB / 0.9741 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007721/0.7426, allocations: 5 MB / 0.979 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009884/0.7436, allocations: 47.69 kB / 0.979 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.7459, allocations: 0.808 MB / 0.9798 GB, free: 2.281 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.005883/0.7518, allocations: 2.573 MB / 0.9823 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.7544, allocations: 1.104 MB / 0.9834 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003136/0.7576, allocations: 2.582 MB / 0.9859 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.7588, allocations: 0.9001 MB / 0.9868 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.7606, allocations: 1.094 MB / 0.9879 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.7618, allocations: 0.9572 MB / 0.9888 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.762, allocations: 80 kB / 0.9889 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.7651, allocations: 1.785 MB / 0.9906 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004032/0.7656, allocations: 446.6 kB / 0.991 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006646/0.7662, allocations: 0.6624 MB / 0.9917 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.7693, allocations: 2.192 MB / 0.9938 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7693, allocations: 0 / 0.9938 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7693, allocations: 0 / 0.9938 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.7693, allocations: 0 / 0.9938 GB, free: 3.871 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.004749/0.7741, allocations: 1.952 MB / 0.9957 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.7741, allocations: 8.031 kB / 0.9957 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004351/0.7785, allocations: 0.7083 MB / 0.9964 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.78, allocations: 0.8983 MB / 0.9973 GB, free: 196 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.7801, allocations: 69.98 kB / 0.9974 GB, free: 128 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.7803, allocations: 91.94 kB / 0.9975 GB, free: 36 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.7833, allocations: 1.457 MB / 0.9989 GB, free: 14.52 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.7833, allocations: 3.938 kB / 0.9989 GB, free: 14.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.7834, allocations: 39.98 kB / 0.9989 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.7835, allocations: 49.98 kB / 0.999 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.7875, allocations: 1.557 MB / 1 GB, free: 12.87 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.006505/0.794, allocations: 5.019 MB / 1.005 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.7973, allocations: 1.184 MB / 1.007 GB, free: 6.402 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.7989, allocations: 0.6726 MB / 1.007 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.8001, allocations: 0.941 MB / 1.008 GB, free: 4.605 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.8019, allocations: 0.7225 MB / 1.009 GB, free: 3.867 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.8019, allocations: 0 / 1.009 GB, free: 3.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=82): time 0.0057/0.8076, allocations: 1.956 MB / 1.011 GB, free: 1.906 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.8077, allocations: 67.09 kB / 1.011 GB, free: 1.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.8091, allocations: 1.28 MB / 1.012 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/0.8092, allocations: 41.7 kB / 1.012 GB, free: 492 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.8096, allocations: 0.5797 MB / 1.013 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.8099, allocations: 280 kB / 1.013 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.8102, allocations: 186.5 kB / 1.013 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8103, allocations: 345.9 kB / 1.013 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.8118, allocations: 0.5406 MB / 1.014 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.8136, allocations: 0.8544 MB / 1.015 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/0.8169, allocations: 1.34 MB / 1.016 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.8169, allocations: 4 kB / 1.016 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003947/0.8209, allocations: 1.526 MB / 1.018 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.8209, allocations: 8.781 kB / 1.018 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.8209, allocations: 4 kB / 1.018 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.821, allocations: 12 kB / 1.018 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.8224, allocations: 292.1 kB / 1.018 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.8225, allocations: 19.92 kB / 1.018 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.8239, allocations: 198.8 kB / 1.018 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.605e-05/0.824, allocations: 56.47 kB / 1.018 GB, free: 10.02 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.0005509/0.8246, allocations: 344.9 kB / 1.018 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.8248, allocations: 138.2 kB / 1.019 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.8287, allocations: 1.442 MB / 1.02 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.8287, allocations: 12 kB / 1.02 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8287, allocations: 0 / 1.02 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.8287, allocations: 3.984 kB / 1.02 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/0.8348, allocations: 2.868 MB / 1.023 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.8349, allocations: 4.5 kB / 1.023 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.8362, allocations: 237.9 kB / 1.023 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.8362, allocations: 8 kB / 1.023 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/0.8363, allocations: 27.97 kB / 1.023 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.8363, allocations: 7.938 kB / 1.023 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8363, allocations: 4 kB / 1.023 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005282/0.8416, allocations: 2.314 MB / 1.025 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.8422, allocations: 307.7 kB / 1.026 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.8424, allocations: 20 kB / 1.026 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.8435, allocations: 119.8 kB / 1.026 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.8437, allocations: 64.36 kB / 1.026 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.8438, allocations: 31.98 kB / 1.026 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001016/0.8448, allocations: 0.8844 MB / 1.027 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8448, allocations: 0.5625 kB / 1.027 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009627/0.8458, allocations: 315.7 kB / 1.027 GB, free: 0.6836 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.001189/0.847, allocations: 0.5392 MB / 1.028 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00352/0.8505, allocations: 1.308 MB / 1.029 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.8505, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.8522, allocations: 0.6754 MB / 1.03 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.8549, allocations: 0.6404 MB / 1.03 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.8592, allocations: 2.569 MB / 1.033 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/0.8599, allocations: 1.174 MB / 1.034 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001178/0.8611, allocations: 349.7 kB / 1.034 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.8615, allocations: 119.4 kB / 1.034 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.8615, allocations: 4 kB / 1.034 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.03367/0.8952, allocations: 23.6 MB / 1.057 GB, free: 2.277 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)