Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.004812/0.004812, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.00115/0.00115, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.754/1.754, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.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.001459/0.001459, allocations: 78.06 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2032, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.8012/1.004, allocations: 194.1 MB / 1.018 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009155/1.014, allocations: 5.141 MB / 1.023 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/1.015, allocations: 49.94 kB / 1.023 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/1.018, allocations: 0.8072 MB / 1.024 GB, free: 0.9727 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.006698/1.024, allocations: 2.57 MB / 1.026 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/1.027, allocations: 1.122 MB / 1.027 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003219/1.03, allocations: 2.654 MB / 1.03 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/1.032, allocations: 0.9445 MB / 1.031 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/1.034, allocations: 1.123 MB / 1.032 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/1.035, allocations: 0.9909 MB / 1.033 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/1.035, allocations: 87.19 kB / 1.033 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/1.038, allocations: 1.797 MB / 1.035 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/1.039, allocations: 450.6 kB / 1.035 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007085/1.039, allocations: 0.6643 MB / 1.036 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/1.043, allocations: 2.246 MB / 1.038 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.043, allocations: 0 / 1.038 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/1.043, allocations: 0 / 1.038 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.577e-05/1.043, allocations: 0 / 1.038 GB, free: 5.902 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.004976/1.048, allocations: 1.973 MB / 1.04 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.048, allocations: 8.031 kB / 1.04 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/1.053, allocations: 0.9032 MB / 1.041 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.055, allocations: 0.988 MB / 1.042 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/1.055, allocations: 73.98 kB / 1.042 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.055, allocations: 88 kB / 1.042 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/1.059, allocations: 1.583 MB / 1.043 GB, free: 140 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.059, allocations: 4 kB / 1.043 GB, free: 136 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.059, allocations: 39.98 kB / 1.043 GB, free: 96 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/1.059, allocations: 49.98 kB / 1.043 GB, free: 44 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005108/1.064, allocations: 1.842 MB / 1.045 GB, free: 14.2 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.007418/1.072, allocations: 4.76 MB / 1.05 GB, free: 9.207 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/1.076, allocations: 1.557 MB / 1.051 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/1.078, allocations: 0.8468 MB / 1.052 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.08, allocations: 0.9452 MB / 1.053 GB, free: 5.664 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/1.082, allocations: 0.9182 MB / 1.054 GB, free: 4.734 MB / 0.795 GB Notification: Performance of pre-optimization done (n=95): time 3.106e-06/1.082, allocations: 0 / 1.054 GB, free: 4.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=95): time 0.007833/1.09, allocations: 2.45 MB / 1.056 GB, free: 2.273 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/1.09, allocations: 64.41 kB / 1.056 GB, free: 2.199 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/1.092, allocations: 1.206 MB / 1.058 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.092, allocations: 49.7 kB / 1.058 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/1.092, allocations: 0.541 MB / 1.058 GB, free: 392 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.092, allocations: 331.3 kB / 1.059 GB, free: 56 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/1.093, allocations: 198.7 kB / 1.059 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.093, allocations: 341.9 kB / 1.059 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/1.095, allocations: 0.7045 MB / 1.06 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/1.097, allocations: 0.9216 MB / 1.061 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/1.102, allocations: 1.558 MB / 1.062 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.102, allocations: 0 / 1.062 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00515/1.107, allocations: 1.78 MB / 1.064 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/1.107, allocations: 4 kB / 1.064 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.107, allocations: 7.938 kB / 1.064 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.107, allocations: 12 kB / 1.064 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.109, allocations: 339.5 kB / 1.064 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.109, allocations: 12 kB / 1.064 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.111, allocations: 246.3 kB / 1.064 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.111, allocations: 47.97 kB / 1.065 GB, free: 9.75 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.0006423/1.111, allocations: 328.3 kB / 1.065 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/1.112, allocations: 142.2 kB / 1.065 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/1.117, allocations: 1.807 MB / 1.067 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.117, allocations: 15.98 kB / 1.067 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.117, allocations: 0 / 1.067 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.117, allocations: 3.984 kB / 1.067 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007798/1.125, allocations: 3.321 MB / 1.07 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.125, allocations: 7.938 kB / 1.07 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.127, allocations: 299.7 kB / 1.07 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/1.127, allocations: 8 kB / 1.07 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.127, allocations: 39.89 kB / 1.07 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/1.127, allocations: 8 kB / 1.07 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.127, allocations: 7.938 kB / 1.07 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007932/1.135, allocations: 2.843 MB / 1.073 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/1.136, allocations: 323.1 kB / 1.073 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/1.136, allocations: 27.98 kB / 1.073 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/1.137, allocations: 159.8 kB / 1.074 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.138, allocations: 72.45 kB / 1.074 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.914e-05/1.138, allocations: 39.97 kB / 1.074 GB, free: 124 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001164/1.139, allocations: 0.8397 MB / 1.075 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/1.139, allocations: 0 / 1.075 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001207/1.14, allocations: 343.6 kB / 1.075 GB, free: 14.94 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.001346/1.141, allocations: 0.5536 MB / 1.075 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005199/1.147, allocations: 1.619 MB / 1.077 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.147, allocations: 0 / 1.077 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/1.149, allocations: 0.8438 MB / 1.078 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/1.153, allocations: 0.6323 MB / 1.078 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/1.16, allocations: 2.982 MB / 1.081 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.161, allocations: 1.191 MB / 1.083 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001553/1.163, allocations: 370.2 kB / 1.083 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/1.163, allocations: 119.4 kB / 1.083 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of SimCode: time 7.62e-07/1.163, allocations: 0 / 1.083 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of Templates: time 0.0415/1.205, allocations: 24.43 MB / 1.107 GB, free: 14.64 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)