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.001525/0.001533, allocations: 101.1 kB / 16.27 MB, free: 5.965 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.001729/0.00173, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.396/1.396, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.773/1.773, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001491/0.001491, allocations: 71.34 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2475, allocations: 114.5 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6228/0.8704, allocations: 193.8 MB / 0.9733 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008783/0.8792, allocations: 5.002 MB / 0.9782 GB, free: 3.668 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.8808, allocations: 51.62 kB / 0.9783 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.8829, allocations: 0.812 MB / 0.979 GB, free: 2.801 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.006436/0.8894, allocations: 2.568 MB / 0.9816 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.8923, allocations: 1.104 MB / 0.9826 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003695/0.896, allocations: 2.586 MB / 0.9852 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.8978, allocations: 0.9118 MB / 0.986 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.9001, allocations: 1.082 MB / 0.9871 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.9014, allocations: 0.9417 MB / 0.988 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.9016, allocations: 80 kB / 0.9881 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.9052, allocations: 1.789 MB / 0.9898 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005083/0.9057, allocations: 430.6 kB / 0.9903 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008079/0.9065, allocations: 0.653 MB / 0.9909 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.91, allocations: 2.154 MB / 0.993 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.91, allocations: 0 / 0.993 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/0.91, allocations: 0 / 0.993 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.91, allocations: 0 / 0.993 GB, free: 4.465 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.00496/0.915, allocations: 1.952 MB / 0.9949 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.9151, allocations: 8.031 kB / 0.9949 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/0.919, allocations: 0.6576 MB / 0.9956 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.9206, allocations: 0.8982 MB / 0.9964 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.9207, allocations: 74 kB / 0.9965 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.9208, allocations: 84 kB / 0.9966 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.9239, allocations: 1.471 MB / 0.998 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.924, allocations: 7.938 kB / 0.998 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.9241, allocations: 35.98 kB / 0.9981 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.9241, allocations: 49.98 kB / 0.9981 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.9283, allocations: 1.518 MB / 0.9996 GB, free: 13.52 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.008016/0.9363, allocations: 5.492 MB / 1.005 GB, free: 7.762 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.9402, allocations: 1.296 MB / 1.006 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.942, allocations: 0.6697 MB / 1.007 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009265/0.9429, allocations: 0.5812 MB / 1.007 GB, free: 5.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/0.9449, allocations: 0.7032 MB / 1.008 GB, free: 4.371 MB / 0.795 GB Notification: Performance of pre-optimization done (n=80): time 2.986e-06/0.9449, allocations: 6.438 kB / 1.008 GB, free: 4.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=80): time 0.005846/0.9507, allocations: 1.882 MB / 1.01 GB, free: 2.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.9508, allocations: 60.06 kB / 1.01 GB, free: 2.406 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.9527, allocations: 1.247 MB / 1.011 GB, free: 1.152 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.9528, allocations: 41.7 kB / 1.011 GB, free: 1.105 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/0.9534, allocations: 0.5871 MB / 1.012 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.9537, allocations: 272.2 kB / 1.012 GB, free: 248 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.9541, allocations: 190.4 kB / 1.012 GB, free: 52 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.9543, allocations: 342 kB / 1.013 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.9559, allocations: 0.5444 MB / 1.013 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.9579, allocations: 0.8411 MB / 1.014 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/0.9613, allocations: 1.324 MB / 1.015 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.9614, allocations: 5.625 kB / 1.015 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004145/0.9655, allocations: 1.491 MB / 1.017 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.9656, allocations: 16.12 kB / 1.017 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.9656, allocations: 11.94 kB / 1.017 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.9656, allocations: 12 kB / 1.017 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.9671, allocations: 287.6 kB / 1.017 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.049e-05/0.9671, allocations: 19.92 kB / 1.017 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.9686, allocations: 201.4 kB / 1.017 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.9687, allocations: 51.97 kB / 1.017 GB, free: 10.69 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.0006505/0.9694, allocations: 343.6 kB / 1.018 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.9698, allocations: 135.5 kB / 1.018 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/0.9739, allocations: 1.405 MB / 1.019 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.9739, allocations: 8 kB / 1.019 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.9739, allocations: 0 / 1.019 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.974, allocations: 8.641 kB / 1.019 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006579/0.9805, allocations: 2.8 MB / 1.022 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.9806, allocations: 4 kB / 1.022 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.9819, allocations: 222.4 kB / 1.022 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/0.9819, allocations: 11.94 kB / 1.022 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.982, allocations: 31.97 kB / 1.022 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.982, allocations: 11.92 kB / 1.022 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.9821, allocations: 5.5 kB / 1.022 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.9881, allocations: 2.248 MB / 1.024 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/0.9889, allocations: 291.2 kB / 1.025 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.9892, allocations: 23.98 kB / 1.025 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.9905, allocations: 111.8 kB / 1.025 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.9906, allocations: 64.42 kB / 1.025 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.9907, allocations: 35.97 kB / 1.025 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00137/0.9921, allocations: 0.8565 MB / 1.026 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9921, allocations: 0 / 1.026 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001325/0.9934, allocations: 323.5 kB / 1.026 GB, free: 1.578 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.001459/0.9949, allocations: 0.5439 MB / 1.027 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004458/0.9994, allocations: 1.415 MB / 1.028 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.9994, allocations: 4 kB / 1.028 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/1.001, allocations: 0.6326 MB / 1.029 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/1.005, allocations: 0.6129 MB / 1.029 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/1.011, allocations: 2.665 MB / 1.032 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009968/1.012, allocations: 1.177 MB / 1.033 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/1.012, allocations: 127.4 kB / 1.033 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of SimCode: time 1.082e-06/1.012, allocations: 0 / 1.033 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.03671/1.049, allocations: 20.64 MB / 1.053 GB, free: 6.16 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)