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.001063/0.001063, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001569/0.001568, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.57/1.57, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005502/0.0005502, allocations: 15.5 kB / 0.6737 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6196/0.8315, allocations: 176.3 MB / 0.9595 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008227/0.8398, allocations: 4.764 MB / 0.9641 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.8415, allocations: 44.81 kB / 0.9642 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.8431, allocations: 0.6139 MB / 0.9648 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.8493, allocations: 1.863 MB / 0.9666 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.8519, allocations: 0.9219 MB / 0.9675 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004216/0.8561, allocations: 2.991 MB / 0.9704 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.8574, allocations: 0.7246 MB / 0.9711 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.8595, allocations: 0.9931 MB / 0.9721 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.8609, allocations: 0.9226 MB / 0.973 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.861, allocations: 45.28 kB / 0.973 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.8637, allocations: 0.9291 MB / 0.974 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004527/0.8642, allocations: 402.5 kB / 0.9743 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.8646, allocations: 265.1 kB / 0.9746 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.8663, allocations: 1.358 MB / 0.9759 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8663, allocations: 0 / 0.9759 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8663, allocations: 2.625 kB / 0.9759 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.8664, allocations: 0 / 0.9759 GB, free: 2.301 MB / 0.7169 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.004167/0.8705, allocations: 1.704 MB / 0.9776 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.8706, allocations: 8.031 kB / 0.9776 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/0.8741, allocations: 0.711 MB / 0.9783 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.8756, allocations: 0.8454 MB / 0.9791 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.8757, allocations: 72.23 kB / 0.9792 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.8758, allocations: 89.61 kB / 0.9793 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.8786, allocations: 1.475 MB / 0.9807 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.8787, allocations: 5.781 kB / 0.9807 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/0.8788, allocations: 42.19 kB / 0.9807 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.8788, allocations: 53.77 kB / 0.9808 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.8821, allocations: 1.53 MB / 0.9823 GB, free: 15.59 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.006267/0.8884, allocations: 5.498 MB / 0.9877 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.8913, allocations: 1.319 MB / 0.989 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.8927, allocations: 0.6653 MB / 0.9896 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/0.8936, allocations: 0.5957 MB / 0.9902 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.8951, allocations: 0.7243 MB / 0.9909 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 2.575e-06/0.8952, allocations: 0 / 0.9909 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.004702/0.8999, allocations: 1.902 MB / 0.9927 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.8999, allocations: 61.44 kB / 0.9928 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.9012, allocations: 1.238 MB / 0.994 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.9013, allocations: 46.45 kB / 0.9941 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.9017, allocations: 0.5813 MB / 0.9946 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.9019, allocations: 279.5 kB / 0.9949 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.902, allocations: 16.19 kB / 0.9949 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9021, allocations: 347.8 kB / 0.9952 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.9034, allocations: 0.5455 MB / 0.9958 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.9049, allocations: 0.8475 MB / 0.9966 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.9063, allocations: 0.6035 MB / 0.9972 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.9063, allocations: 2.688 kB / 0.9972 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003206/0.9095, allocations: 1.509 MB / 0.9987 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.9095, allocations: 8.062 kB / 0.9987 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.9095, allocations: 10.53 kB / 0.9987 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.9096, allocations: 13.78 kB / 0.9987 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.9108, allocations: 302 kB / 0.999 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.9109, allocations: 19.25 kB / 0.999 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.9121, allocations: 230.1 kB / 0.9992 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/0.9122, allocations: 49.84 kB / 0.9993 GB, free: 7.434 MB / 0.7325 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005062/0.9127, allocations: 339.8 kB / 0.9996 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.9129, allocations: 137 kB / 0.9997 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/0.9161, allocations: 1.43 MB / 1.001 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.9162, allocations: 8.062 kB / 1.001 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9162, allocations: 0 / 1.001 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.9162, allocations: 3.984 kB / 1.001 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.9211, allocations: 2.832 MB / 1.004 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.9211, allocations: 2.875 kB / 1.004 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.9222, allocations: 229.7 kB / 1.004 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.9222, allocations: 7.812 kB / 1.004 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.9223, allocations: 28.47 kB / 1.004 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.9223, allocations: 15.44 kB / 1.004 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9224, allocations: 4.625 kB / 1.004 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004582/0.9269, allocations: 2.272 MB / 1.006 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.9274, allocations: 308.7 kB / 1.007 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.9276, allocations: 20 kB / 1.007 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.9286, allocations: 147.7 kB / 1.007 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.9287, allocations: 62.59 kB / 1.007 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.9288, allocations: 41.58 kB / 1.007 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009628/0.9298, allocations: 0.8502 MB / 1.008 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9298, allocations: 0 / 1.008 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009761/0.9308, allocations: 318.6 kB / 1.008 GB, free: 4.258 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.9319, allocations: 0.5219 MB / 1.009 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003031/0.9349, allocations: 1.299 MB / 1.01 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.9349, allocations: 0 / 1.01 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.9364, allocations: 0.6473 MB / 1.01 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.9388, allocations: 0.6019 MB / 1.011 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.9433, allocations: 2.944 MB / 1.014 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.944, allocations: 1.175 MB / 1.015 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001412/0.9454, allocations: 345.2 kB / 1.015 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.9457, allocations: 110.2 kB / 1.016 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.9457, allocations: 0 / 1.016 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of Templates: time 0.03204/0.9778, allocations: 20.97 MB / 1.036 GB, free: 12.98 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: