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.00724/0.00724, allocations: 102 kB / 15.73 MB, free: 6.051 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.001679/0.00168, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.401/1.401, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001436/0.001436, allocations: 72.33 kB / 0.7258 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.575/0.5764, allocations: 104.7 MB / 0.8281 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1972/0.7737, allocations: 194.1 MB / 1.018 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00871/0.7825, allocations: 5.155 MB / 1.023 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007189/0.7832, allocations: 51.62 kB / 1.023 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.7849, allocations: 0.8198 MB / 1.024 GB, free: 9.695 MB / 0.8262 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.005314/0.7903, allocations: 2.661 MB / 1.026 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.7928, allocations: 1.113 MB / 1.027 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002683/0.7954, allocations: 2.664 MB / 1.03 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.7966, allocations: 0.9557 MB / 1.031 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.7981, allocations: 1.152 MB / 1.032 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.7991, allocations: 1 MB / 1.033 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.7992, allocations: 84 kB / 1.033 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.8022, allocations: 1.804 MB / 1.035 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.8027, allocations: 454.5 kB / 1.035 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.8033, allocations: 0.6759 MB / 1.036 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.806, allocations: 2.238 MB / 1.038 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.806, allocations: 0 / 1.038 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.323e-06/0.806, allocations: 0 / 1.038 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.806, allocations: 0 / 1.038 GB, free: 10.87 MB / 0.8419 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.005022/0.8111, allocations: 1.969 MB / 1.04 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8111, allocations: 12.02 kB / 1.04 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.8164, allocations: 0.8993 MB / 1.041 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.8181, allocations: 0.9918 MB / 1.042 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.8182, allocations: 70 kB / 1.042 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.8184, allocations: 88 kB / 1.042 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.8221, allocations: 1.587 MB / 1.043 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.8222, allocations: 4 kB / 1.043 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8223, allocations: 36 kB / 1.044 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.8224, allocations: 45.98 kB / 1.044 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005181/0.8275, allocations: 1.846 MB / 1.045 GB, free: 3.172 MB / 0.8419 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.007632/0.8352, allocations: 4.754 MB / 1.05 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.8397, allocations: 1.557 MB / 1.052 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002337/0.842, allocations: 0.8468 MB / 1.052 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.8434, allocations: 0.953 MB / 1.053 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002645/0.846, allocations: 0.9144 MB / 1.054 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=95): time 3.617e-06/0.846, allocations: 0 / 1.054 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=95): time 0.007967/0.854, allocations: 2.454 MB / 1.057 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.8541, allocations: 68.34 kB / 1.057 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.8555, allocations: 1.202 MB / 1.058 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.8556, allocations: 49.64 kB / 1.058 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.856, allocations: 0.5526 MB / 1.058 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.8563, allocations: 319.4 kB / 1.059 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.8566, allocations: 194.5 kB / 1.059 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8568, allocations: 341.9 kB / 1.059 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.859, allocations: 0.7045 MB / 1.06 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.8614, allocations: 0.9255 MB / 1.061 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/0.8659, allocations: 1.565 MB / 1.062 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.8659, allocations: 0 / 1.062 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005114/0.871, allocations: 1.788 MB / 1.064 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.8711, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8711, allocations: 8 kB / 1.064 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.8711, allocations: 8 kB / 1.064 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.873, allocations: 331.7 kB / 1.064 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/0.873, allocations: 19.92 kB / 1.064 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.8747, allocations: 242.7 kB / 1.065 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.8748, allocations: 47.97 kB / 1.065 GB, free: 14.7 MB / 0.8731 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.0006047/0.8754, allocations: 339.7 kB / 1.065 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.8757, allocations: 138.2 kB / 1.065 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005355/0.881, allocations: 1.803 MB / 1.067 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.8811, allocations: 12 kB / 1.067 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.8811, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.8811, allocations: 3.984 kB / 1.067 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007613/0.8887, allocations: 3.329 MB / 1.07 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/0.8887, allocations: 7.938 kB / 1.07 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.8904, allocations: 284 kB / 1.07 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.8905, allocations: 8 kB / 1.07 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.8906, allocations: 31.97 kB / 1.07 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.8906, allocations: 19.92 kB / 1.071 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8906, allocations: 8 kB / 1.071 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007363/0.898, allocations: 2.839 MB / 1.073 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006465/0.8986, allocations: 331 kB / 1.074 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.8988, allocations: 24 kB / 1.074 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.9003, allocations: 159.8 kB / 1.074 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.9004, allocations: 68.5 kB / 1.074 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.9005, allocations: 47.91 kB / 1.074 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001197/0.9017, allocations: 0.8396 MB / 1.075 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9018, allocations: 4 kB / 1.075 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001145/0.9029, allocations: 331.7 kB / 1.075 GB, free: 3.902 MB / 0.8731 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.001383/0.9043, allocations: 0.5364 MB / 1.076 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004887/0.9092, allocations: 1.634 MB / 1.077 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9092, allocations: 0 / 1.077 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.9116, allocations: 0.8438 MB / 1.078 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/0.9144, allocations: 0.6334 MB / 1.079 GB, free: 440 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.9203, allocations: 2.985 MB / 1.082 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.921, allocations: 1.187 MB / 1.083 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00131/0.9223, allocations: 370.1 kB / 1.083 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.9228, allocations: 115.4 kB / 1.083 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of SimCode: time 8.92e-07/0.9228, allocations: 0 / 1.083 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of Templates: time 0.4999/1.423, allocations: 24.43 MB / 1.107 GB, free: 259.3 MB / 0.8887 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)