Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.125/2.125, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001296/0.001296, allocations: 171.4 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.0009023/0.0009023, allocations: 87.48 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004564, allocations: 15.53 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1836, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07511/0.2587, allocations: 66.84 MB / 0.9648 GB, free: 14.48 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.04178/0.3006, allocations: 18.86 MB / 0.9832 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003341/0.304, allocations: 83.38 kB / 0.9833 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.3074, allocations: 0.6716 MB / 0.9839 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00757/0.315, allocations: 1.925 MB / 0.9858 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006607/0.3216, allocations: 1.567 MB / 0.9873 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01489/0.3365, allocations: 9.115 MB / 0.9962 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.348, allocations: 5.412 MB / 1.002 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/0.3559, allocations: 2.684 MB / 1.004 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005831/0.3617, allocations: 2.299 MB / 1.006 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007641/0.3625, allocations: 132 kB / 1.007 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004238/0.3668, allocations: 1.022 MB / 1.008 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.368, allocations: 0.6027 MB / 1.008 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.3696, allocations: 0.6445 MB / 1.009 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006671/0.3763, allocations: 3.48 MB / 1.012 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3763, allocations: 0 / 1.012 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3764, allocations: 0 / 1.012 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001037/0.3765, allocations: 0 / 1.012 GB, free: 13.84 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01246/0.3889, allocations: 3.855 MB / 1.016 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.389, allocations: 8.031 kB / 1.016 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.3929, allocations: 0.5738 MB / 1.016 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007488/0.4004, allocations: 2.462 MB / 1.019 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.4006, allocations: 139.8 kB / 1.019 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/0.4011, allocations: 188 kB / 1.019 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/0.4079, allocations: 2.409 MB / 1.022 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/0.408, allocations: 11.94 kB / 1.022 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002926/0.4083, allocations: 75.92 kB / 1.022 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.4083, allocations: 40 kB / 1.022 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/0.4151, allocations: 2.017 MB / 1.024 GB, free: 1.777 MB / 0.6667 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.02513/0.4402, allocations: 12.14 MB / 1.035 GB, free: 5.016 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005445/0.4457, allocations: 1.547 MB / 1.037 GB, free: 3.461 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/0.4488, allocations: 1.094 MB / 1.038 GB, free: 2.363 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.4601, allocations: 4.083 MB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002786/0.463, allocations: 0.8872 MB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002692/0.4657, allocations: 446.6 kB / 1.043 GB, free: 12.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 5.05e-06/0.4657, allocations: 0 / 1.043 GB, free: 12.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.0302/0.4959, allocations: 5.205 MB / 1.048 GB, free: 7.406 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.496, allocations: 60.41 kB / 1.048 GB, free: 7.336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00653/0.5026, allocations: 3.003 MB / 1.051 GB, free: 4.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.5029, allocations: 57.7 kB / 1.051 GB, free: 4.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.5049, allocations: 1.423 MB / 1.053 GB, free: 2.836 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/0.5055, allocations: 343.1 kB / 1.053 GB, free: 2.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.5056, allocations: 28 kB / 1.053 GB, free: 2.469 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.5058, allocations: 365.9 kB / 1.054 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/0.5084, allocations: 0.6909 MB / 1.054 GB, free: 1.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5558/1.064, allocations: 1.493 MB / 1.056 GB, free: 147.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/1.067, allocations: 0.8932 MB / 1.057 GB, free: 147.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.067, allocations: 5.375 kB / 1.057 GB, free: 147.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01061/1.078, allocations: 2.945 MB / 1.059 GB, free: 147.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002976/1.078, allocations: 0.5427 MB / 1.06 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.078, allocations: 13.75 kB / 1.06 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004983/1.083, allocations: 0.7846 MB / 1.061 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/1.086, allocations: 292.3 kB / 1.061 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/1.089, allocations: 2.173 MB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.094, allocations: 244.7 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/1.094, allocations: 79.73 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.094, allocations: 3.25 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007762/1.102, allocations: 2.311 MB / 1.066 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.593e-05/1.102, allocations: 13.84 kB / 1.066 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/1.105, allocations: 0.581 MB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/1.107, allocations: 288.3 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/1.12, allocations: 6.491 MB / 1.073 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/1.124, allocations: 241.6 kB / 1.073 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/1.124, allocations: 68.72 kB / 1.073 GB, free: 142.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002083/1.126, allocations: 0.8263 MB / 1.074 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007639/1.127, allocations: 295.5 kB / 1.074 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008064/1.135, allocations: 2.483 MB / 1.077 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006059/1.141, allocations: 2.199 MB / 1.079 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.141, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.143, allocations: 0.5546 MB / 1.079 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/1.144, allocations: 19 kB / 1.079 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/1.147, allocations: 194.4 kB / 1.08 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/1.147, allocations: 112 kB / 1.08 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007955/1.155, allocations: 2.246 MB / 1.082 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007796/1.163, allocations: 2.653 MB / 1.085 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002391/1.166, allocations: 0.6968 MB / 1.085 GB, free: 137.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004196/1.17, allocations: 2.051 MB / 1.087 GB, free: 136.7 MB / 0.698 GB Notification: Performance of Backend: time 7.91e-07/1.17, allocations: 0 / 1.087 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009622/1.18, allocations: 3.107 MB / 1.09 GB, free: 135 MB / 0.698 GB Notification: Performance of SimCode: time 0.01647/1.196, allocations: 7.417 MB / 1.097 GB, free: 128.9 MB / 0.698 GB Notification: Performance of Templates: time 0.1265/1.323, allocations: 56.68 MB / 1.153 GB, free: 72.66 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)