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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.365/1.365, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.801/1.801, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.002082/0.002082, allocations: 78.05 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.225, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6152/0.8403, allocations: 193.8 MB / 0.9727 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009931/0.8502, allocations: 4.991 MB / 0.9775 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.8523, allocations: 47.72 kB / 0.9776 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.8544, allocations: 0.8231 MB / 0.9784 GB, free: 14.84 MB / 0.7325 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.00698/0.8614, allocations: 2.571 MB / 0.9809 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.8643, allocations: 1.109 MB / 0.982 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003689/0.868, allocations: 2.651 MB / 0.9846 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.8694, allocations: 0.9503 MB / 0.9855 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.8713, allocations: 1.108 MB / 0.9866 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.8725, allocations: 0.9931 MB / 0.9875 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.8726, allocations: 87.94 kB / 0.9876 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.8761, allocations: 1.787 MB / 0.9894 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.8766, allocations: 453.5 kB / 0.9898 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007188/0.8773, allocations: 0.6773 MB / 0.9905 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.8806, allocations: 2.205 MB / 0.9926 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.8806, allocations: 4 kB / 0.9926 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8806, allocations: 0 / 0.9926 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.8807, allocations: 0 / 0.9926 GB, free: 7.969 MB / 0.7325 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.005017/0.8857, allocations: 1.981 MB / 0.9946 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8858, allocations: 14.33 kB / 0.9946 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005551/0.8913, allocations: 0.8867 MB / 0.9954 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.8928, allocations: 0.9186 MB / 0.9963 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.8929, allocations: 80.42 kB / 0.9964 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.8931, allocations: 88.38 kB / 0.9965 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.8967, allocations: 1.583 MB / 0.998 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.8968, allocations: 2.719 kB / 0.998 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.8969, allocations: 35.78 kB / 0.9981 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.8969, allocations: 43.05 kB / 0.9981 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005204/0.9021, allocations: 1.851 MB / 0.9999 GB, free: 3.5 MB / 0.7325 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.007577/0.9097, allocations: 4.772 MB / 1.005 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.9142, allocations: 1.56 MB / 1.006 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.9165, allocations: 0.8649 MB / 1.007 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.9178, allocations: 0.9396 MB / 1.008 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002464/0.9203, allocations: 0.9228 MB / 1.009 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.697e-06/0.9203, allocations: 0 / 1.009 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007956/0.9283, allocations: 2.451 MB / 1.011 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.9284, allocations: 62.5 kB / 1.011 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.9298, allocations: 1.208 MB / 1.012 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.93, allocations: 56.72 kB / 1.012 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.9304, allocations: 0.5463 MB / 1.013 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.9307, allocations: 319.3 kB / 1.013 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.9311, allocations: 199.4 kB / 1.013 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9312, allocations: 341.8 kB / 1.014 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.9334, allocations: 0.6959 MB / 1.014 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.9358, allocations: 0.9291 MB / 1.015 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004436/0.9402, allocations: 1.558 MB / 1.017 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.9403, allocations: 1.875 kB / 1.017 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005182/0.9454, allocations: 1.779 MB / 1.019 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.9455, allocations: 17.83 kB / 1.019 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9455, allocations: 5.344 kB / 1.019 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9455, allocations: 7.656 kB / 1.019 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.9473, allocations: 334.6 kB / 1.019 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.9474, allocations: 11.69 kB / 1.019 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.9492, allocations: 246.4 kB / 1.019 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9493, allocations: 46.28 kB / 1.019 GB, free: 7.098 MB / 0.7481 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.0005874/0.9499, allocations: 334.4 kB / 1.02 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.9501, allocations: 140 kB / 1.02 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005121/0.9552, allocations: 1.804 MB / 1.022 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.9553, allocations: 12 kB / 1.022 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9553, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.9553, allocations: 7.984 kB / 1.022 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007308/0.9626, allocations: 3.33 MB / 1.025 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.9626, allocations: 4 kB / 1.025 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.9644, allocations: 291.7 kB / 1.025 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.9644, allocations: 8 kB / 1.025 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.9645, allocations: 31.97 kB / 1.025 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.9645, allocations: 11.94 kB / 1.025 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9645, allocations: 4 kB / 1.025 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007473/0.972, allocations: 2.848 MB / 1.028 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/0.9726, allocations: 327.1 kB / 1.028 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.9729, allocations: 27.92 kB / 1.028 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.9745, allocations: 158.9 kB / 1.028 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.9746, allocations: 68.52 kB / 1.028 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/0.9747, allocations: 39.97 kB / 1.028 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001086/0.9758, allocations: 0.8435 MB / 1.029 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9758, allocations: 0 / 1.029 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001107/0.9769, allocations: 343.6 kB / 1.03 GB, free: 13.33 MB / 0.7637 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.001264/0.9782, allocations: 0.5327 MB / 1.03 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005586/0.9838, allocations: 1.784 MB / 1.032 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9838, allocations: 0 / 1.032 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.9863, allocations: 0.8424 MB / 1.033 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.9897, allocations: 0.639 MB / 1.033 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.9977, allocations: 3.012 MB / 1.036 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.999, allocations: 1.191 MB / 1.037 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002165/1.001, allocations: 366.2 kB / 1.038 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/1.002, allocations: 119.4 kB / 1.038 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of SimCode: time 1.302e-06/1.002, allocations: 3.938 kB / 1.038 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of Templates: time 0.03993/1.042, allocations: 24.25 MB / 1.062 GB, free: 13.05 MB / 0.795 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)