Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001357/0.001357, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.355/1.355, 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.809/1.809, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001623/0.001623, allocations: 67.91 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2397, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6179/0.8576, allocations: 193.8 MB / 0.9733 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008682/0.8664, allocations: 5.009 MB / 0.9782 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.868, allocations: 47.69 kB / 0.9783 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.8701, allocations: 0.8119 MB / 0.979 GB, free: 2.723 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.006369/0.8765, allocations: 2.571 MB / 0.9816 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.8796, allocations: 1.108 MB / 0.9826 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003651/0.8832, allocations: 2.656 MB / 0.9852 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.8848, allocations: 0.9484 MB / 0.9862 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.887, allocations: 1.109 MB / 0.9872 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.8884, allocations: 0.9846 MB / 0.9882 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.8886, allocations: 88 kB / 0.9883 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.8922, allocations: 1.796 MB / 0.99 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.8927, allocations: 454.6 kB / 0.9905 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007951/0.8935, allocations: 0.6721 MB / 0.9911 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.8974, allocations: 2.204 MB / 0.9933 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8974, allocations: 0 / 0.9933 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.147e-06/0.8974, allocations: 0 / 0.9933 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.8974, allocations: 3.938 kB / 0.9933 GB, free: 4.09 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005233/0.9027, allocations: 1.975 MB / 0.9952 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.9027, allocations: 8.031 kB / 0.9952 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00567/0.9084, allocations: 0.9032 MB / 0.9961 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.9104, allocations: 0.91 MB / 0.997 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.9104, allocations: 77.91 kB / 0.9971 GB, free: 104 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.9106, allocations: 95.98 kB / 0.9972 GB, free: 8 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/0.9144, allocations: 1.579 MB / 0.9987 GB, free: 14.4 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.9145, allocations: 3.938 kB / 0.9987 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.9146, allocations: 32 kB / 0.9987 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.449e-05/0.9147, allocations: 58.58 kB / 0.9988 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00529/0.92, allocations: 1.85 MB / 1.001 GB, free: 12.46 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.007684/0.9277, allocations: 4.756 MB / 1.005 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/0.9322, allocations: 1.56 MB / 1.007 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.9345, allocations: 0.8597 MB / 1.008 GB, free: 5.043 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.9358, allocations: 0.9413 MB / 1.009 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/0.9384, allocations: 0.9266 MB / 1.009 GB, free: 2.977 MB / 0.795 GB Notification: Performance of pre-optimization done (n=95): time 4.479e-06/0.9384, allocations: 0 / 1.009 GB, free: 2.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=95): time 0.00786/0.9463, allocations: 2.45 MB / 1.012 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.9464, allocations: 68.39 kB / 1.012 GB, free: 456 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.9479, allocations: 1.202 MB / 1.013 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.9481, allocations: 45.7 kB / 1.013 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.9485, allocations: 0.5487 MB / 1.014 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.9488, allocations: 327.4 kB / 1.014 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.9492, allocations: 190.5 kB / 1.014 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9493, allocations: 341.9 kB / 1.014 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.9515, allocations: 0.7083 MB / 1.015 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.9539, allocations: 0.9178 MB / 1.016 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.9584, allocations: 1.554 MB / 1.018 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.9584, allocations: 0 / 1.018 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005255/0.9637, allocations: 1.791 MB / 1.019 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.9638, allocations: 4 kB / 1.019 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.9638, allocations: 9.625 kB / 1.019 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.9638, allocations: 11.98 kB / 1.019 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.9656, allocations: 335.9 kB / 1.02 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.9656, allocations: 19.94 kB / 1.02 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.9674, allocations: 238.7 kB / 1.02 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.9675, allocations: 47.97 kB / 1.02 GB, free: 8.004 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006076/0.9681, allocations: 331.7 kB / 1.02 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.9684, allocations: 142.2 kB / 1.02 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/0.9735, allocations: 1.807 MB / 1.022 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.9735, allocations: 12 kB / 1.022 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.9735, allocations: 0 / 1.022 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.9735, allocations: 3.984 kB / 1.022 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007264/0.9808, allocations: 3.328 MB / 1.025 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.9808, allocations: 4 kB / 1.025 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.9825, allocations: 292 kB / 1.026 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.9826, allocations: 12 kB / 1.026 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.063e-05/0.9827, allocations: 32.53 kB / 1.026 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.9827, allocations: 11.94 kB / 1.026 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9827, allocations: 4 kB / 1.026 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007645/0.9903, allocations: 2.839 MB / 1.029 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007087/0.9911, allocations: 327 kB / 1.029 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.9913, allocations: 33.92 kB / 1.029 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.9927, allocations: 156.4 kB / 1.029 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.9929, allocations: 64.45 kB / 1.029 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.993, allocations: 47.97 kB / 1.029 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001135/0.9941, allocations: 0.8396 MB / 1.03 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9941, allocations: 0 / 1.03 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001094/0.9952, allocations: 335.7 kB / 1.03 GB, free: 13.21 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * 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.001334/0.9966, allocations: 0.5434 MB / 1.031 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005786/1.002, allocations: 1.779 MB / 1.033 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.002, allocations: 8.25 kB / 1.033 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.005, allocations: 0.828 MB / 1.033 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/1.008, allocations: 0.632 MB / 1.034 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/1.014, allocations: 3.087 MB / 1.037 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/1.015, allocations: 1.179 MB / 1.038 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/1.015, allocations: 135.4 kB / 1.038 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of SimCode: time 1.183e-06/1.015, allocations: 0 / 1.038 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.03393/1.049, allocations: 21.87 MB / 1.06 GB, free: 15.52 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)