Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 117.9 kB / 16.38 MB, free: 6.016 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.001206/0.001206, allocations: 190.5 kB / 17.31 MB, free: 5.613 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.00148/0.00148, allocations: 72.36 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2484, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5759/0.8244, allocations: 193.9 MB / 0.9741 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009597/0.834, allocations: 5.003 MB / 0.979 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.8356, allocations: 51.69 kB / 0.979 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.838, allocations: 0.8041 MB / 0.9798 GB, free: 2.27 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.007127/0.8452, allocations: 2.571 MB / 0.9823 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.8484, allocations: 1.111 MB / 0.9834 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004328/0.8528, allocations: 2.59 MB / 0.9859 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.8548, allocations: 0.9117 MB / 0.9868 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.8575, allocations: 1.086 MB / 0.9879 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.8594, allocations: 0.9495 MB / 0.9888 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.8598, allocations: 80 kB / 0.9889 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/0.8639, allocations: 1.781 MB / 0.9906 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.8648, allocations: 434.6 kB / 0.991 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.8662, allocations: 0.6565 MB / 0.9917 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.8712, allocations: 2.177 MB / 0.9938 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8712, allocations: 0 / 0.9938 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8712, allocations: 4 kB / 0.9938 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.62e-05/0.8713, allocations: 0 / 0.9938 GB, free: 3.883 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005888/0.8772, allocations: 1.944 MB / 0.9957 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8773, allocations: 8.031 kB / 0.9957 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.8813, allocations: 0.6615 MB / 0.9964 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.8834, allocations: 0.9645 MB / 0.9973 GB, free: 196 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-05/0.8835, allocations: 77.97 kB / 0.9974 GB, free: 120 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.8838, allocations: 84 kB / 0.9975 GB, free: 36 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/0.8874, allocations: 1.47 MB / 0.9989 GB, free: 14.49 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.8874, allocations: 7.938 kB / 0.9989 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.8876, allocations: 32 kB / 0.9989 GB, free: 14.45 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.088e-05/0.8877, allocations: 49.98 kB / 0.999 GB, free: 14.4 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.8921, allocations: 1.526 MB / 1 GB, free: 12.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.008382/0.9005, allocations: 5.472 MB / 1.006 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003968/0.9045, allocations: 1.29 MB / 1.007 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.9064, allocations: 0.6543 MB / 1.008 GB, free: 5.172 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/0.9074, allocations: 0.5858 MB / 1.008 GB, free: 4.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/0.9094, allocations: 0.7184 MB / 1.009 GB, free: 3.742 MB / 0.795 GB Notification: Performance of pre-optimization done (n=80): time 3.327e-06/0.9095, allocations: 0 / 1.009 GB, free: 3.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=80): time 0.006053/0.9155, allocations: 1.874 MB / 1.011 GB, free: 1.859 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.9156, allocations: 60.06 kB / 1.011 GB, free: 1.789 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.9174, allocations: 1.247 MB / 1.012 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.9176, allocations: 45.64 kB / 1.012 GB, free: 496 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/0.9181, allocations: 0.5872 MB / 1.013 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.9185, allocations: 272.2 kB / 1.013 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/0.9188, allocations: 194.4 kB / 1.013 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.919, allocations: 341.9 kB / 1.013 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.9207, allocations: 0.5405 MB / 1.014 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.9227, allocations: 0.8404 MB / 1.015 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0036/0.9263, allocations: 1.329 MB / 1.016 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.9263, allocations: 0 / 1.016 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004313/0.9307, allocations: 1.495 MB / 1.018 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.9307, allocations: 8 kB / 1.018 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.9307, allocations: 11.98 kB / 1.018 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.9308, allocations: 15.98 kB / 1.018 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.9323, allocations: 299.6 kB / 1.018 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/0.9323, allocations: 15.94 kB / 1.018 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.9338, allocations: 199.4 kB / 1.018 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.9339, allocations: 47.98 kB / 1.018 GB, free: 10.07 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006695/0.9346, allocations: 343.6 kB / 1.018 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.935, allocations: 138.2 kB / 1.019 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.9392, allocations: 1.405 MB / 1.02 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.9393, allocations: 8 kB / 1.02 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9393, allocations: 4.562 kB / 1.02 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.9393, allocations: 3.984 kB / 1.02 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006487/0.9458, allocations: 2.8 MB / 1.023 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.9458, allocations: 4 kB / 1.023 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.9471, allocations: 224 kB / 1.023 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.9471, allocations: 8 kB / 1.023 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.706e-05/0.9472, allocations: 32.53 kB / 1.023 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.9473, allocations: 8 kB / 1.023 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.9473, allocations: 4.703 kB / 1.023 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/0.9531, allocations: 2.256 MB / 1.025 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.9538, allocations: 295.2 kB / 1.025 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.9541, allocations: 20 kB / 1.026 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.9554, allocations: 117.8 kB / 1.026 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.9556, allocations: 64 kB / 1.026 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.151e-05/0.9557, allocations: 35.97 kB / 1.026 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001297/0.957, allocations: 0.8604 MB / 1.027 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.957, allocations: 4 kB / 1.027 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001185/0.9582, allocations: 323.5 kB / 1.027 GB, free: 0.9375 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.9596, allocations: 0.532 MB / 1.027 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003894/0.9635, allocations: 1.283 MB / 1.029 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.9635, allocations: 4 kB / 1.029 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.9654, allocations: 0.6365 MB / 1.029 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.9687, allocations: 0.611 MB / 1.03 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/0.9746, allocations: 2.638 MB / 1.032 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008872/0.9755, allocations: 1.175 MB / 1.034 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.9762, allocations: 127.4 kB / 1.034 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of SimCode: time 9.42e-07/0.9762, allocations: 0 / 1.034 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.03289/1.009, allocations: 20.64 MB / 1.054 GB, free: 5.691 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)