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.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001155, allocations: 192 kB / 16.14 MB, free: 6.703 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.38/1.38, allocations: 205.1 MB / 222 MB, free: 5.012 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.641/1.641, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001327/0.001327, allocations: 63.5 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.259, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7082/0.9672, allocations: 191.6 MB / 0.9698 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009258/0.9765, allocations: 5.043 MB / 0.9747 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.9788, allocations: 47.22 kB / 0.9747 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.981, allocations: 0.7171 MB / 0.9754 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007602/0.9886, allocations: 2.421 MB / 0.9778 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.9916, allocations: 1.012 MB / 0.9788 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00476/0.9964, allocations: 3.523 MB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.9979, allocations: 0.7928 MB / 0.983 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/1, allocations: 1.012 MB / 0.984 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/1.002, allocations: 0.9877 MB / 0.9849 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/1.002, allocations: 58.23 kB / 0.985 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/1.006, allocations: 2.067 MB / 0.987 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004633/1.007, allocations: 417.8 kB / 0.9874 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007372/1.007, allocations: 0.6286 MB / 0.988 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/1.011, allocations: 2.222 MB / 0.9902 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.011, allocations: 0 / 0.9902 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/1.011, allocations: 0 / 0.9902 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.6e-05/1.011, allocations: 0 / 0.9902 GB, free: 4.008 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.005397/1.017, allocations: 1.953 MB / 0.9921 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.017, allocations: 11.09 kB / 0.9921 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003997/1.021, allocations: 0.6592 MB / 0.9928 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/1.022, allocations: 0.8931 MB / 0.9936 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/1.022, allocations: 65.88 kB / 0.9937 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.023, allocations: 92.12 kB / 0.9938 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/1.026, allocations: 1.481 MB / 0.9952 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.026, allocations: 2.531 kB / 0.9952 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.026, allocations: 40.83 kB / 0.9953 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/1.026, allocations: 48.19 kB / 0.9953 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/1.03, allocations: 1.514 MB / 0.9968 GB, free: 17.71 MB / 0.7481 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.007758/1.037, allocations: 5.486 MB / 1.002 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/1.041, allocations: 1.285 MB / 1.003 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/1.042, allocations: 0.6686 MB / 1.004 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009042/1.043, allocations: 0.5795 MB / 1.005 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/1.045, allocations: 0.7108 MB / 1.005 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 2.995e-06/1.045, allocations: 0 / 1.005 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005769/1.051, allocations: 1.88 MB / 1.007 GB, free: 11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.051, allocations: 63 kB / 1.007 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/1.053, allocations: 1.254 MB / 1.008 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.895e-05/1.053, allocations: 46.36 kB / 1.008 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/1.053, allocations: 0.5763 MB / 1.009 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/1.053, allocations: 286 kB / 1.009 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/1.054, allocations: 190 kB / 1.01 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.054, allocations: 338.6 kB / 1.01 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/1.055, allocations: 0.5322 MB / 1.01 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/1.057, allocations: 0.8516 MB / 1.011 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/1.06, allocations: 1.318 MB / 1.012 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.06, allocations: 2.562 kB / 1.012 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00403/1.064, allocations: 1.502 MB / 1.014 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.064, allocations: 12.72 kB / 1.014 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.065, allocations: 12.28 kB / 1.014 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.065, allocations: 13.53 kB / 1.014 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.066, allocations: 290.5 kB / 1.014 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.066, allocations: 22.05 kB / 1.014 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.068, allocations: 215.2 kB / 1.014 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.068, allocations: 54.75 kB / 1.015 GB, free: 6.469 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.00058/1.068, allocations: 340.1 kB / 1.015 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.069, allocations: 137.3 kB / 1.015 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/1.072, allocations: 1.41 MB / 1.016 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.072, allocations: 5.594 kB / 1.016 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.072, allocations: 0 / 1.016 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/1.072, allocations: 6.859 kB / 1.016 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/1.078, allocations: 2.796 MB / 1.019 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.078, allocations: 7.594 kB / 1.019 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.079, allocations: 220.5 kB / 1.019 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/1.079, allocations: 9 kB / 1.019 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/1.079, allocations: 28.94 kB / 1.019 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.079, allocations: 8.312 kB / 1.019 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.079, allocations: 7.5 kB / 1.019 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/1.085, allocations: 2.253 MB / 1.022 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/1.085, allocations: 298.8 kB / 1.022 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/1.086, allocations: 22.44 kB / 1.022 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.087, allocations: 132.5 kB / 1.022 GB, free: 2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.087, allocations: 61.16 kB / 1.022 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/1.087, allocations: 44.09 kB / 1.022 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001053/1.088, allocations: 0.8564 MB / 1.023 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.088, allocations: 0 / 1.023 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001128/1.089, allocations: 319.5 kB / 1.023 GB, free: 1.453 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.001245/1.091, allocations: 0.5224 MB / 1.024 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003542/1.094, allocations: 1.279 MB / 1.025 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.094, allocations: 0 / 1.025 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/1.096, allocations: 0.6383 MB / 1.026 GB, free: 404 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.099, allocations: 0.5954 MB / 1.026 GB, free: 88 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005815/1.104, allocations: 2.988 MB / 1.029 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/1.105, allocations: 1.18 MB / 1.03 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001646/1.107, allocations: 346 kB / 1.031 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/1.107, allocations: 107.4 kB / 1.031 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.433e-06/1.107, allocations: 0 / 1.031 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.03616/1.144, allocations: 21.71 MB / 1.052 GB, free: 7.262 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)