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.0008121/0.0008121, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006094/0.006094, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.392/1.392, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.733/1.733, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005386/0.0005386, allocations: 15.12 kB / 0.6743 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2307, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6785/0.9092, allocations: 189 MB / 0.9725 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009939/0.9192, allocations: 5.012 MB / 0.9774 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.9208, allocations: 48.38 kB / 0.9774 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.9227, allocations: 0.7003 MB / 0.9781 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006993/0.9297, allocations: 2.421 MB / 0.9804 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.9327, allocations: 1.014 MB / 0.9814 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004315/0.937, allocations: 3.526 MB / 0.9849 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.9382, allocations: 0.7864 MB / 0.9856 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.9401, allocations: 0.9927 MB / 0.9866 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.9413, allocations: 0.9678 MB / 0.9876 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.9414, allocations: 45.31 kB / 0.9876 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.945, allocations: 2.068 MB / 0.9896 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.9454, allocations: 402.4 kB / 0.99 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.946, allocations: 0.6385 MB / 0.9906 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.9487, allocations: 2.205 MB / 0.9928 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9488, allocations: 7.062 kB / 0.9928 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9488, allocations: 0 / 0.9928 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.9488, allocations: 4 kB / 0.9928 GB, free: 8.633 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.004764/0.9536, allocations: 1.69 MB / 0.9944 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9536, allocations: 11.91 kB / 0.9945 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00408/0.9577, allocations: 0.7124 MB / 0.9952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.9593, allocations: 0.8894 MB / 0.996 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.9594, allocations: 67.91 kB / 0.9961 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.9596, allocations: 88.95 kB / 0.9962 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.9626, allocations: 1.489 MB / 0.9976 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.9626, allocations: 0 / 0.9976 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.9627, allocations: 35.33 kB / 0.9977 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.9628, allocations: 51.02 kB / 0.9977 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.9667, allocations: 1.544 MB / 0.9992 GB, free: 4.629 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.007243/0.9739, allocations: 5.508 MB / 1.005 GB, free: 52 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.9776, allocations: 1.322 MB / 1.006 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.9794, allocations: 0.675 MB / 1.007 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009408/0.9803, allocations: 0.594 MB / 1.007 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.9822, allocations: 0.7249 MB / 1.008 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.467e-06/0.9823, allocations: 0 / 1.008 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005757/0.988, allocations: 1.909 MB / 1.01 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.9881, allocations: 59.62 kB / 1.01 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.9896, allocations: 1.259 MB / 1.011 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.707e-05/0.9897, allocations: 43.48 kB / 1.011 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.9901, allocations: 0.5831 MB / 1.012 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.9904, allocations: 278 kB / 1.012 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.9905, allocations: 79.42 kB / 1.012 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9906, allocations: 342.6 kB / 1.012 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.9922, allocations: 0.5499 MB / 1.013 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.9941, allocations: 0.859 MB / 1.014 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/0.9974, allocations: 1.344 MB / 1.015 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.9974, allocations: 3.25 kB / 1.015 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003957/1.001, allocations: 1.518 MB / 1.016 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.001, allocations: 8.125 kB / 1.016 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.001, allocations: 7.594 kB / 1.016 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/1.001, allocations: 14.12 kB / 1.016 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.003, allocations: 306.7 kB / 1.017 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.003, allocations: 14.86 kB / 1.017 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.004, allocations: 228.5 kB / 1.017 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.005, allocations: 49.38 kB / 1.017 GB, free: 8.715 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.0006229/1.005, allocations: 343.7 kB / 1.017 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/1.006, allocations: 141.4 kB / 1.017 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/1.01, allocations: 1.431 MB / 1.019 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.01, allocations: 13.77 kB / 1.019 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.01, allocations: 2.969 kB / 1.019 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.01, allocations: 7.922 kB / 1.019 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/1.016, allocations: 2.816 MB / 1.022 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.016, allocations: 6.188 kB / 1.022 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.017, allocations: 239.5 kB / 1.022 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.017, allocations: 10.19 kB / 1.022 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/1.017, allocations: 26.53 kB / 1.022 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/1.017, allocations: 7.938 kB / 1.022 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/1.017, allocations: 10.12 kB / 1.022 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/1.023, allocations: 2.279 MB / 1.024 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/1.023, allocations: 311.4 kB / 1.024 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/1.024, allocations: 20.23 kB / 1.024 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.025, allocations: 146.1 kB / 1.025 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.025, allocations: 57.38 kB / 1.025 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/1.025, allocations: 36.91 kB / 1.025 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001127/1.026, allocations: 0.8605 MB / 1.026 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.026, allocations: 4 kB / 1.026 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001139/1.027, allocations: 317.2 kB / 1.026 GB, free: 3.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.001259/1.029, allocations: 0.535 MB / 1.026 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003816/1.032, allocations: 1.298 MB / 1.028 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.032, allocations: 0 / 1.028 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/1.034, allocations: 0.6551 MB / 1.028 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.038, allocations: 0.5808 MB / 1.029 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/1.044, allocations: 3.07 MB / 1.032 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.045, allocations: 1.179 MB / 1.033 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001588/1.047, allocations: 346 kB / 1.033 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/1.047, allocations: 111.4 kB / 1.033 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of SimCode: time 7.62e-07/1.047, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of Templates: time 0.03626/1.084, allocations: 21.57 MB / 1.055 GB, free: 6.496 MB / 0.7794 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: