Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008701/0.00087, allocations: 172 kB / 326.5 MB, free: 2.648 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205 MB / 0.5766 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007656/0.0007656, allocations: 100.5 kB / 0.6804 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 14.19 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2098, allocations: 105.4 MB / 0.8967 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7068/0.9167, allocations: 191.5 MB / 1.084 GB, free: 1.605 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008832/0.9255, allocations: 5.183 MB / 1.089 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.9274, allocations: 46.31 kB / 1.089 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.9294, allocations: 0.7169 MB / 1.09 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006533/0.936, allocations: 2.416 MB / 1.092 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.9388, allocations: 1.017 MB / 1.093 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003994/0.9428, allocations: 3.59 MB / 1.096 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.9441, allocations: 0.8268 MB / 1.097 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.946, allocations: 1.024 MB / 1.098 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.9472, allocations: 1.003 MB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.9473, allocations: 48.91 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.9512, allocations: 2.069 MB / 1.101 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.9517, allocations: 417.6 kB / 1.102 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007173/0.9525, allocations: 0.6215 MB / 1.102 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.9545, allocations: 1.543 MB / 1.104 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9546, allocations: 0 / 1.104 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9546, allocations: 0 / 1.104 GB, free: 1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.9546, allocations: 3.094 kB / 1.104 GB, free: 1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004517/0.9591, allocations: 1.708 MB / 1.105 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9592, allocations: 12.36 kB / 1.106 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/0.9643, allocations: 0.931 MB / 1.106 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.9659, allocations: 0.9195 MB / 1.107 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.9659, allocations: 69.12 kB / 1.107 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.9661, allocations: 95.86 kB / 1.107 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.9694, allocations: 1.584 MB / 1.109 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.9694, allocations: 0 / 1.109 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.9696, allocations: 34.09 kB / 1.109 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.9696, allocations: 46.86 kB / 1.109 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/0.9742, allocations: 1.851 MB / 1.111 GB, free: 15.4 MB / 0.7136 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.007135/0.9814, allocations: 4.767 MB / 1.116 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.9854, allocations: 1.592 MB / 1.117 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.9876, allocations: 0.8541 MB / 1.118 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.9889, allocations: 0.9548 MB / 1.119 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.9913, allocations: 0.9169 MB / 1.12 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 3.366e-06/0.9913, allocations: 0 / 1.12 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.008075/0.9994, allocations: 2.441 MB / 1.122 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.9995, allocations: 64.61 kB / 1.122 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/1.001, allocations: 1.207 MB / 1.123 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.001, allocations: 47.23 kB / 1.123 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/1.002, allocations: 0.544 MB / 1.124 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/1.002, allocations: 330 kB / 1.124 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.002, allocations: 85.52 kB / 1.124 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.002, allocations: 343.8 kB / 1.125 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/1.005, allocations: 0.6939 MB / 1.125 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/1.007, allocations: 0.9254 MB / 1.126 GB, free: 11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/1.011, allocations: 1.555 MB / 1.128 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.011, allocations: 0 / 1.128 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004885/1.016, allocations: 1.776 MB / 1.13 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.016, allocations: 5.312 kB / 1.13 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.016, allocations: 2.969 kB / 1.13 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.016, allocations: 9 kB / 1.13 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.018, allocations: 341 kB / 1.13 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/1.018, allocations: 15.58 kB / 1.13 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.019, allocations: 260.3 kB / 1.13 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.02, allocations: 53.16 kB / 1.13 GB, free: 10.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007383/1.02, allocations: 341.8 kB / 1.131 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/1.021, allocations: 128.4 kB / 1.131 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/1.026, allocations: 1.802 MB / 1.132 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.026, allocations: 11.22 kB / 1.132 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.026, allocations: 0 / 1.132 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/1.026, allocations: 3.984 kB / 1.132 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/1.033, allocations: 3.338 MB / 1.136 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.033, allocations: 5.812 kB / 1.136 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/1.035, allocations: 291.3 kB / 1.136 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/1.035, allocations: 10.7 kB / 1.136 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/1.035, allocations: 30.91 kB / 1.136 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.035, allocations: 10.33 kB / 1.136 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.035, allocations: 8.156 kB / 1.136 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007095/1.042, allocations: 2.835 MB / 1.139 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009624/1.043, allocations: 326 kB / 1.139 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.043, allocations: 23.38 kB / 1.139 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.045, allocations: 184.3 kB / 1.139 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.045, allocations: 65.05 kB / 1.139 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.045, allocations: 45.16 kB / 1.139 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001328/1.046, allocations: 0.8393 MB / 1.14 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.046, allocations: 1.781 kB / 1.14 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001497/1.048, allocations: 343.9 kB / 1.141 GB, free: 6.828 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001374/1.049, allocations: 0.5313 MB / 1.141 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004628/1.054, allocations: 1.616 MB / 1.143 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.054, allocations: 0 / 1.143 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/1.056, allocations: 0.8366 MB / 1.143 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.06, allocations: 0.6099 MB / 1.144 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/1.066, allocations: 3.47 MB / 1.147 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/1.067, allocations: 1.189 MB / 1.149 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/1.068, allocations: 131.6 kB / 1.149 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.068, allocations: 0 / 1.149 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of Templates: time 0.03403/1.102, allocations: 21.66 MB / 1.17 GB, free: 13.93 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)