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.00131/0.00131, allocations: 103.3 kB / 16.36 MB, free: 6.301 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.001488/0.001488, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.368/1.368, 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.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001542/0.001542, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6375/0.898, allocations: 193.8 MB / 0.9741 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00943/0.9075, allocations: 5.006 MB / 0.979 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.9093, allocations: 47.69 kB / 0.979 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.9116, allocations: 0.8119 MB / 0.9798 GB, free: 2.254 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.006813/0.9185, allocations: 2.571 MB / 0.9823 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.9214, allocations: 1.107 MB / 0.9834 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.9252, allocations: 2.668 MB / 0.986 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.927, allocations: 0.9523 MB / 0.9869 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.9296, allocations: 1.113 MB / 0.988 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.9315, allocations: 0.9924 MB / 0.989 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003957/0.9319, allocations: 88 kB / 0.9891 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.9356, allocations: 1.796 MB / 0.9908 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007229/0.9364, allocations: 450.6 kB / 0.9912 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.9376, allocations: 0.6721 MB / 0.9919 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.9419, allocations: 2.235 MB / 0.9941 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.9419, allocations: 4 kB / 0.9941 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9419, allocations: 0 / 0.9941 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.847e-05/0.942, allocations: 3.938 kB / 0.9941 GB, free: 3.566 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.00578/0.9478, allocations: 1.968 MB / 0.996 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9479, allocations: 12.03 kB / 0.996 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/0.9536, allocations: 0.8993 MB / 0.9969 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.9559, allocations: 0.988 MB / 0.9979 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.956, allocations: 73.97 kB / 0.9979 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.9563, allocations: 92 kB / 0.998 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/0.9605, allocations: 1.583 MB / 0.9996 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.9606, allocations: 0 / 0.9996 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.9607, allocations: 39.94 kB / 0.9996 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.9608, allocations: 49.98 kB / 0.9997 GB, free: 13.72 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005541/0.9663, allocations: 1.842 MB / 1.001 GB, free: 11.88 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.008468/0.9748, allocations: 4.748 MB / 1.006 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004698/0.9795, allocations: 1.56 MB / 1.008 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.982, allocations: 0.8558 MB / 1.008 GB, free: 4.477 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.9834, allocations: 0.9413 MB / 1.009 GB, free: 3.352 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002742/0.9862, allocations: 0.9105 MB / 1.01 GB, free: 2.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=95): time 2.926e-06/0.9862, allocations: 384 / 1.01 GB, free: 2.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=95): time 0.008235/0.9944, allocations: 2.466 MB / 1.013 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.9945, allocations: 60.41 kB / 1.013 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.9962, allocations: 1.202 MB / 1.014 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.9964, allocations: 49.69 kB / 1.014 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.9969, allocations: 0.5448 MB / 1.014 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.9973, allocations: 327.4 kB / 1.015 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/0.9977, allocations: 190.5 kB / 1.015 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9979, allocations: 345.9 kB / 1.015 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/1, allocations: 0.6966 MB / 1.016 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/1.003, allocations: 0.9333 MB / 1.017 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004612/1.007, allocations: 1.55 MB / 1.018 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.007, allocations: 4 kB / 1.018 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005506/1.013, allocations: 1.777 MB / 1.02 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.013, allocations: 11.94 kB / 1.02 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.013, allocations: 8.422 kB / 1.02 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/1.013, allocations: 12 kB / 1.02 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/1.015, allocations: 344.1 kB / 1.021 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/1.015, allocations: 8 kB / 1.021 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.017, allocations: 236 kB / 1.021 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.017, allocations: 51.97 kB / 1.021 GB, free: 7.445 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.0007179/1.018, allocations: 335.7 kB / 1.021 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/1.018, allocations: 142.2 kB / 1.021 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005652/1.024, allocations: 1.807 MB / 1.023 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/1.024, allocations: 10.06 kB / 1.023 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.024, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/1.024, allocations: 3.984 kB / 1.023 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008939/1.033, allocations: 3.324 MB / 1.026 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.033, allocations: 8.438 kB / 1.026 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.035, allocations: 299.5 kB / 1.027 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.143e-05/1.035, allocations: 8.562 kB / 1.027 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/1.035, allocations: 31.97 kB / 1.027 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/1.035, allocations: 8 kB / 1.027 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.035, allocations: 7.938 kB / 1.027 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007784/1.043, allocations: 2.841 MB / 1.029 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007865/1.043, allocations: 327 kB / 1.03 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/1.044, allocations: 29.11 kB / 1.03 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.045, allocations: 151.8 kB / 1.03 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.046, allocations: 76.45 kB / 1.03 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.046, allocations: 35.97 kB / 1.03 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001228/1.047, allocations: 0.8396 MB / 1.031 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/1.047, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001375/1.048, allocations: 339.7 kB / 1.031 GB, free: 12.64 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.0015/1.05, allocations: 0.5499 MB / 1.032 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005329/1.055, allocations: 1.638 MB / 1.033 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.055, allocations: 0 / 1.033 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/1.058, allocations: 0.8322 MB / 1.034 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/1.061, allocations: 0.6266 MB / 1.035 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006774/1.068, allocations: 3.054 MB / 1.038 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/1.069, allocations: 1.183 MB / 1.039 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/1.07, allocations: 135.4 kB / 1.039 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of SimCode: time 1.072e-06/1.07, allocations: 0 / 1.039 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.03573/1.106, allocations: 21.86 MB / 1.06 GB, free: 15.12 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)