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.001088/0.001088, allocations: 103.2 kB / 16.29 MB, free: 6.43 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.00108/0.00108, allocations: 184.8 kB / 17.22 MB, free: 5.934 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.387/1.387, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001495/0.001495, allocations: 67.91 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5821/0.8134, allocations: 193.8 MB / 0.9734 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008818/0.8223, allocations: 4.998 MB / 0.9783 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.8234, allocations: 47.69 kB / 0.9783 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.8253, allocations: 0.8081 MB / 0.9791 GB, free: 2.68 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.006191/0.8315, allocations: 2.571 MB / 0.9816 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.8342, allocations: 1.115 MB / 0.9827 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003219/0.8374, allocations: 2.582 MB / 0.9852 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.8387, allocations: 0.9072 MB / 0.9861 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.8405, allocations: 1.097 MB / 0.9872 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.8417, allocations: 0.9495 MB / 0.9881 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.8419, allocations: 80 kB / 0.9882 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.8451, allocations: 1.785 MB / 0.9899 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004422/0.8455, allocations: 430.6 kB / 0.9903 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.8462, allocations: 0.6565 MB / 0.991 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.849, allocations: 2.177 MB / 0.9931 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.849, allocations: 0 / 0.9931 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8491, allocations: 0 / 0.9931 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.8491, allocations: 0 / 0.9931 GB, free: 4.293 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.004633/0.8537, allocations: 1.948 MB / 0.995 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.8538, allocations: 8.031 kB / 0.995 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/0.8576, allocations: 0.6615 MB / 0.9957 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.8591, allocations: 0.902 MB / 0.9965 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.8592, allocations: 69.19 kB / 0.9966 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.8594, allocations: 88 kB / 0.9967 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.8625, allocations: 1.478 MB / 0.9981 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.8625, allocations: 3.938 kB / 0.9981 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.8626, allocations: 36 kB / 0.9982 GB, free: 14.92 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/0.8627, allocations: 45.98 kB / 0.9982 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/0.8666, allocations: 1.522 MB / 0.9997 GB, free: 13.35 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.007782/0.8744, allocations: 5.468 MB / 1.005 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.878, allocations: 1.288 MB / 1.006 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.8796, allocations: 0.6619 MB / 1.007 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/0.8805, allocations: 0.5851 MB / 1.008 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/0.8823, allocations: 0.711 MB / 1.008 GB, free: 4.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=80): time 6.232e-06/0.8823, allocations: 0 / 1.008 GB, free: 4.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=80): time 0.005439/0.8877, allocations: 1.882 MB / 1.01 GB, free: 2.332 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.8878, allocations: 64.05 kB / 1.01 GB, free: 2.258 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.8893, allocations: 1.243 MB / 1.011 GB, free: 1.008 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/0.8894, allocations: 45.7 kB / 1.011 GB, free: 0.957 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.8898, allocations: 0.591 MB / 1.012 GB, free: 368 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.89, allocations: 268.2 kB / 1.012 GB, free: 96 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.8904, allocations: 194.5 kB / 1.012 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8905, allocations: 341.9 kB / 1.013 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.8921, allocations: 0.5405 MB / 1.013 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.8939, allocations: 0.8374 MB / 1.014 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.897, allocations: 1.332 MB / 1.015 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.897, allocations: 0 / 1.015 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00374/0.9008, allocations: 1.487 MB / 1.017 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.9008, allocations: 15.88 kB / 1.017 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.9008, allocations: 8 kB / 1.017 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.9009, allocations: 12 kB / 1.017 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.9023, allocations: 297.6 kB / 1.017 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.9023, allocations: 19.69 kB / 1.017 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.9036, allocations: 194.8 kB / 1.017 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.9037, allocations: 59.95 kB / 1.017 GB, free: 10.54 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.0005278/0.9042, allocations: 344.4 kB / 1.018 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.9044, allocations: 138.2 kB / 1.018 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.9082, allocations: 1.397 MB / 1.019 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.9082, allocations: 8 kB / 1.019 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.9082, allocations: 6 kB / 1.019 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.9082, allocations: 3.984 kB / 1.019 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.9138, allocations: 2.804 MB / 1.022 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.9138, allocations: 4 kB / 1.022 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9151, allocations: 225.3 kB / 1.022 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.9151, allocations: 11.94 kB / 1.022 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/0.9152, allocations: 31.97 kB / 1.022 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.9152, allocations: 11.94 kB / 1.022 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9152, allocations: 4 kB / 1.022 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/0.9204, allocations: 2.244 MB / 1.024 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.9209, allocations: 295.2 kB / 1.025 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.9211, allocations: 27.94 kB / 1.025 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9222, allocations: 111.9 kB / 1.025 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.9223, allocations: 56.42 kB / 1.025 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/0.9224, allocations: 39.66 kB / 1.025 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00106/0.9235, allocations: 0.8643 MB / 1.026 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9235, allocations: 5.875 kB / 1.026 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001003/0.9245, allocations: 315.5 kB / 1.026 GB, free: 1.426 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.001263/0.9258, allocations: 0.535 MB / 1.027 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.9294, allocations: 1.286 MB / 1.028 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9294, allocations: 0 / 1.028 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.9311, allocations: 0.6404 MB / 1.028 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.9336, allocations: 0.6178 MB / 1.029 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.939, allocations: 2.568 MB / 1.032 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/0.9399, allocations: 1.171 MB / 1.033 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001181/0.9411, allocations: 346.9 kB / 1.033 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.9415, allocations: 111.4 kB / 1.033 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of SimCode: time 8.82e-07/0.9415, allocations: 0 / 1.033 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.03711/0.9786, allocations: 22.69 MB / 1.055 GB, free: 4.055 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)