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.001574/0.001574, allocations: 109.4 kB / 15.69 MB, free: 124 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.002297/0.002297, allocations: 188.4 kB / 16.62 MB, free: 6.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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.749/1.749, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001478/0.001478, allocations: 71.44 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2597, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6929/0.9527, allocations: 193.8 MB / 0.9734 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008941/0.9617, allocations: 5 MB / 0.9783 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.9632, allocations: 51.72 kB / 0.9783 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.9654, allocations: 0.8109 MB / 0.9791 GB, free: 15.15 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.007209/0.9726, allocations: 2.565 MB / 0.9816 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.9757, allocations: 1.12 MB / 0.9827 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003671/0.9793, allocations: 2.583 MB / 0.9853 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.9806, allocations: 0.9052 MB / 0.9861 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.9827, allocations: 1.096 MB / 0.9872 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.9839, allocations: 0.9456 MB / 0.9881 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.984, allocations: 77.72 kB / 0.9882 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.9875, allocations: 1.791 MB / 0.99 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.9879, allocations: 432.5 kB / 0.9904 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.9886, allocations: 0.6458 MB / 0.991 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.9922, allocations: 2.187 MB / 0.9931 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9923, allocations: 4 kB / 0.9931 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9923, allocations: 0 / 0.9931 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.9923, allocations: 0 / 0.9931 GB, free: 8.227 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004884/0.9972, allocations: 1.947 MB / 0.995 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.9973, allocations: 13.88 kB / 0.9951 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/1.001, allocations: 0.6514 MB / 0.9957 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/1.003, allocations: 0.9694 MB / 0.9966 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/1.003, allocations: 65.06 kB / 0.9967 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/1.003, allocations: 90.92 kB / 0.9968 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/1.007, allocations: 1.471 MB / 0.9982 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.007, allocations: 6.125 kB / 0.9982 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/1.007, allocations: 34.8 kB / 0.9983 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/1.007, allocations: 54.53 kB / 0.9983 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/1.011, allocations: 1.52 MB / 0.9998 GB, free: 3.996 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.007163/1.018, allocations: 5.474 MB / 1.005 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/1.021, allocations: 1.296 MB / 1.006 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/1.023, allocations: 0.6647 MB / 1.007 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008908/1.024, allocations: 0.5825 MB / 1.008 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00188/1.026, allocations: 0.7037 MB / 1.008 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 2.765e-06/1.026, allocations: 0 / 1.008 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005612/1.032, allocations: 1.881 MB / 1.01 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.032, allocations: 59.75 kB / 1.01 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.033, allocations: 1.246 MB / 1.011 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.033, allocations: 46.8 kB / 1.011 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/1.034, allocations: 0.5826 MB / 1.012 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/1.034, allocations: 280.8 kB / 1.012 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/1.034, allocations: 184.9 kB / 1.012 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.035, allocations: 342.2 kB / 1.013 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.036, allocations: 0.545 MB / 1.013 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/1.038, allocations: 0.8444 MB / 1.014 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/1.041, allocations: 1.325 MB / 1.015 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.041, allocations: 2.938 kB / 1.015 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003963/1.045, allocations: 1.494 MB / 1.017 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.045, allocations: 11.78 kB / 1.017 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.045, allocations: 7.406 kB / 1.017 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.045, allocations: 12.91 kB / 1.017 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.047, allocations: 295.5 kB / 1.017 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/1.047, allocations: 21.47 kB / 1.017 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.048, allocations: 199.8 kB / 1.017 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-05/1.048, allocations: 51 kB / 1.017 GB, free: 7.953 MB / 0.7481 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.0005196/1.049, allocations: 339.6 kB / 1.018 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/1.049, allocations: 141 kB / 1.018 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/1.053, allocations: 1.405 MB / 1.019 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.053, allocations: 11.62 kB / 1.019 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.053, allocations: 0 / 1.019 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.053, allocations: 3.984 kB / 1.019 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/1.059, allocations: 2.801 MB / 1.022 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.059, allocations: 8.594 kB / 1.022 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.06, allocations: 221.3 kB / 1.022 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.06, allocations: 10.69 kB / 1.022 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/1.06, allocations: 36.77 kB / 1.022 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/1.06, allocations: 13.56 kB / 1.022 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.06, allocations: 9.047 kB / 1.022 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005497/1.066, allocations: 2.239 MB / 1.025 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/1.066, allocations: 295.2 kB / 1.025 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/1.066, allocations: 23.98 kB / 1.025 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.067, allocations: 111.9 kB / 1.025 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.068, allocations: 64.36 kB / 1.025 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/1.068, allocations: 35.97 kB / 1.025 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001118/1.069, allocations: 0.8604 MB / 1.026 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.31e-07/1.069, allocations: 0 / 1.026 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001091/1.07, allocations: 323.5 kB / 1.026 GB, free: 1.652 MB / 0.7481 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.001328/1.071, allocations: 0.5422 MB / 1.027 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003718/1.075, allocations: 1.289 MB / 1.028 GB, free: 12 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.075, allocations: 0 / 1.028 GB, free: 12 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/1.077, allocations: 0.6443 MB / 1.029 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.08, allocations: 0.6087 MB / 1.029 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.085, allocations: 2.575 MB / 1.032 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/1.086, allocations: 1.178 MB / 1.033 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001197/1.087, allocations: 338 kB / 1.033 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/1.087, allocations: 111.4 kB / 1.033 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of SimCode: time 5.41e-07/1.087, allocations: 0 / 1.033 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of Templates: time 0.03833/1.126, allocations: 22.7 MB / 1.055 GB, free: 4.141 MB / 0.7794 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)