Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 62.47 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2886, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06695/0.3556, allocations: 72.78 MB / 1.139 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0326/0.3883, allocations: 18.81 MB / 1.158 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005175/0.3935, allocations: 95.44 kB / 1.158 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.008477/0.402, allocations: 4.237 MB / 1.162 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006854/0.4088, allocations: 2.417 MB / 1.164 GB, free: 7.785 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004985/0.4138, allocations: 2.087 MB / 1.166 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01379/0.4276, allocations: 10.83 MB / 1.177 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008803/0.4365, allocations: 6.133 MB / 1.183 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007581/0.4441, allocations: 3.246 MB / 1.186 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004954/0.449, allocations: 2.536 MB / 1.188 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.4503, allocations: 260 kB / 1.189 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005034/0.4553, allocations: 1.541 MB / 1.19 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.457, allocations: 0.8912 MB / 1.191 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004485/0.4615, allocations: 1.959 MB / 1.193 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009175/0.4707, allocations: 5.253 MB / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4707, allocations: 4 kB / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4708, allocations: 0 / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001904/0.471, allocations: 0 / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01084/0.4818, allocations: 4.338 MB / 1.202 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4819, allocations: 8.031 kB / 1.202 GB, free: 496 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.4854, allocations: 0.6707 MB / 1.203 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008494/0.4939, allocations: 3.641 MB / 1.207 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.4941, allocations: 143.8 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006098/0.4947, allocations: 184 kB / 1.207 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.4999, allocations: 2.36 MB / 1.209 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.4999, allocations: 11.88 kB / 1.209 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.5002, allocations: 68 kB / 1.209 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.5002, allocations: 40 kB / 1.209 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/0.5044, allocations: 1.919 MB / 1.211 GB, free: 7.223 MB / 0.9669 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.01646/0.5209, allocations: 11.53 MB / 1.222 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.5238, allocations: 1.352 MB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.5255, allocations: 1.013 MB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006714/0.5323, allocations: 3.722 MB / 1.228 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.5339, allocations: 0.778 MB / 1.229 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001537/0.5354, allocations: 238.7 kB / 1.229 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=94): time 7.514e-06/0.5355, allocations: 0 / 1.229 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94): time 0.01239/0.5479, allocations: 4.249 MB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.5479, allocations: 64.39 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.5541, allocations: 3.459 MB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.5543, allocations: 53.7 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.5559, allocations: 1.578 MB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.5563, allocations: 343.2 kB / 1.239 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/0.5571, allocations: 455.5 kB / 1.239 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5573, allocations: 305.1 kB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.559, allocations: 0.8683 MB / 1.24 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.5612, allocations: 1.674 MB / 1.242 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0036/0.5649, allocations: 2.267 MB / 1.244 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.5649, allocations: 8 kB / 1.244 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007105/0.572, allocations: 3.346 MB / 1.248 GB, free: 436 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.5721, allocations: 41.7 kB / 1.248 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.5721, allocations: 16 kB / 1.248 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6133/1.185, allocations: 0.6815 MB / 1.248 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.187, allocations: 363.6 kB / 1.249 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/1.189, allocations: 1.902 MB / 1.25 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/1.191, allocations: 128.8 kB / 1.251 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.191, allocations: 97.53 kB / 1.251 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002924/1.194, allocations: 1.584 MB / 1.252 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001904/1.196, allocations: 1.648 MB / 1.254 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002929/1.199, allocations: 2.205 MB / 1.256 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.466e-06/1.199, allocations: 5.25 kB / 1.256 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.004954/1.204, allocations: 3.224 MB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.204, allocations: 44.3 kB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.204, allocations: 19.58 kB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/1.205, allocations: 473.6 kB / 1.26 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.206, allocations: 347.6 kB / 1.26 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/1.213, allocations: 6.338 MB / 1.266 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.215, allocations: 134.9 kB / 1.266 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.215, allocations: 95.55 kB / 1.266 GB, free: 165.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005222/1.216, allocations: 295.7 kB / 1.267 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/1.216, allocations: 339.8 kB / 1.267 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/1.221, allocations: 2.464 MB / 1.269 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/1.221, allocations: 13.75 kB / 1.269 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.222, allocations: 3.969 kB / 1.269 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/1.225, allocations: 2.095 MB / 1.271 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007617/1.233, allocations: 4.57 MB / 1.276 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.233, allocations: 1.766 kB / 1.276 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/1.234, allocations: 180.4 kB / 1.276 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/1.235, allocations: 488.4 kB / 1.277 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/1.235, allocations: 32.64 kB / 1.277 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/1.237, allocations: 1.839 MB / 1.278 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.237, allocations: 5.219 kB / 1.278 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/1.242, allocations: 3.193 MB / 1.282 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009394/1.243, allocations: 0.5355 MB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/1.244, allocations: 22.92 kB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.245, allocations: 76.73 kB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/1.245, allocations: 83.45 kB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/1.245, allocations: 43.59 kB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003282/1.248, allocations: 2.34 MB / 1.285 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.248, allocations: 0 / 1.285 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003641/1.252, allocations: 1.51 MB / 1.286 GB, free: 157.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/1.253, allocations: 0.5972 MB / 1.287 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007113/1.26, allocations: 3.976 MB / 1.291 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.26, allocations: 5.312 kB / 1.291 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.262, allocations: 0.8051 MB / 1.291 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/1.267, allocations: 1.462 MB / 1.293 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008684/1.276, allocations: 6.028 MB / 1.299 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.277, allocations: 2.24 MB / 1.301 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002834/1.28, allocations: 0.839 MB / 1.302 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.281, allocations: 243.2 kB / 1.302 GB, free: 151 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.281, allocations: 0 / 1.302 GB, free: 151 MB / 0.9981 GB Notification: Performance of Templates: time 0.07931/1.36, allocations: 62.43 MB / 1.363 GB, free: 91.55 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)