Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007857/0.0007856, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.005532/0.005532, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.00044, allocations: 12.19 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4634, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02837/0.4918, allocations: 28.45 MB / 1.102 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.5053, allocations: 6.835 MB / 1.109 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.5077, allocations: 39.69 kB / 1.109 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.51, allocations: 0.6027 MB / 1.109 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.5154, allocations: 1.345 MB / 1.111 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.519, allocations: 1.029 MB / 1.112 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004709/0.5237, allocations: 3.229 MB / 1.115 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.5256, allocations: 0.7134 MB / 1.115 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.5281, allocations: 0.9178 MB / 1.116 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.5299, allocations: 0.8129 MB / 1.117 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.5303, allocations: 36 kB / 1.117 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.5327, allocations: 0.76 MB / 1.118 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.5332, allocations: 258.8 kB / 1.118 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.5344, allocations: 0.5375 MB / 1.119 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.5379, allocations: 1.553 MB / 1.12 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5379, allocations: 0 / 1.12 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5379, allocations: 0 / 1.12 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.829e-05/0.538, allocations: 0 / 1.12 GB, free: 8.246 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003384/0.5414, allocations: 1.365 MB / 1.121 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5415, allocations: 8.031 kB / 1.121 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003637/0.5451, allocations: 0.6315 MB / 1.122 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.5468, allocations: 0.8055 MB / 1.123 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.5469, allocations: 62.36 kB / 1.123 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.5471, allocations: 79.92 kB / 1.123 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.5499, allocations: 1.115 MB / 1.124 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5499, allocations: 0 / 1.124 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.55, allocations: 28 kB / 1.124 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.5501, allocations: 20 kB / 1.124 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.5533, allocations: 1.024 MB / 1.125 GB, free: 2.922 MB / 0.8731 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.007577/0.5609, allocations: 4.974 MB / 1.13 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.564, allocations: 0.9526 MB / 1.131 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.5655, allocations: 0.4904 MB / 1.131 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.567, allocations: 1.604 MB / 1.133 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.5687, allocations: 0.5845 MB / 1.134 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.5688, allocations: 0 / 1.134 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.005165/0.5739, allocations: 1.52 MB / 1.135 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.574, allocations: 63.95 kB / 1.135 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.5759, allocations: 1.12 MB / 1.136 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.576, allocations: 37.7 kB / 1.136 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/0.5766, allocations: 0.5473 MB / 1.137 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.5769, allocations: 205.1 kB / 1.137 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.5771, allocations: 73.62 kB / 1.137 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5773, allocations: 334 kB / 1.137 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.5788, allocations: 461.6 kB / 1.138 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.5806, allocations: 0.732 MB / 1.138 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.5838, allocations: 1.14 MB / 1.14 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.5838, allocations: 4 kB / 1.14 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00391/0.5877, allocations: 1.297 MB / 1.141 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.5878, allocations: 9.562 kB / 1.141 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5878, allocations: 8.875 kB / 1.141 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.5878, allocations: 12 kB / 1.141 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.5891, allocations: 275.6 kB / 1.141 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/0.5891, allocations: 19.92 kB / 1.141 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.5905, allocations: 199 kB / 1.141 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.5907, allocations: 51.97 kB / 1.141 GB, free: 1.297 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005983/0.5913, allocations: 291.8 kB / 1.142 GB, free: 1 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.5916, allocations: 126.4 kB / 1.142 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.5955, allocations: 1.386 MB / 1.143 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.5956, allocations: 11.98 kB / 1.143 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5956, allocations: 0 / 1.143 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.5956, allocations: 3.984 kB / 1.143 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/0.601, allocations: 2.394 MB / 1.146 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.601, allocations: 0 / 1.146 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.602, allocations: 188 kB / 1.146 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.6021, allocations: 4.094 kB / 1.146 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.6021, allocations: 27.91 kB / 1.146 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.6022, allocations: 8 kB / 1.146 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6022, allocations: 4 kB / 1.146 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005146/0.6073, allocations: 2.008 MB / 1.148 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.6079, allocations: 295.2 kB / 1.148 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.6081, allocations: 16 kB / 1.148 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6092, allocations: 127.9 kB / 1.148 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6094, allocations: 60.38 kB / 1.148 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.6095, allocations: 31.97 kB / 1.148 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001122/0.6106, allocations: 0.7638 MB / 1.149 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6106, allocations: 0 / 1.149 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001497/0.6121, allocations: 343.6 kB / 1.149 GB, free: 9.078 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002227/0.6143, allocations: 0.658 MB / 1.15 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003663/0.618, allocations: 1.126 MB / 1.151 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6181, allocations: 8.188 kB / 1.151 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.6198, allocations: 0.5929 MB / 1.152 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.6225, allocations: 428.8 kB / 1.152 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.6282, allocations: 2.803 MB / 1.155 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/0.6291, allocations: 1.104 MB / 1.156 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001146/0.6302, allocations: 244.7 kB / 1.156 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.6306, allocations: 107.4 kB / 1.156 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/0.6306, allocations: 7.938 kB / 1.156 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of Templates: time 0.03651/0.6671, allocations: 18.93 MB / 1.175 GB, free: 15.42 MB / 0.9356 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)