Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, allocations: 251.5 MB / 267.4 MB, free: 11.1 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.0009245/0.0009246, allocations: 174.2 kB / 326.5 MB, free: 2.711 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.423/1.423, allocations: 205 MB / 0.5767 GB, free: 21.03 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.0007099/0.0007099, allocations: 97.8 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002807, allocations: 16.78 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001402/0.1586, allocations: 1.242 MB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005132/0.1591, allocations: 465.1 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.1592, allocations: 0 / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1592, allocations: 3.938 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.1593, allocations: 7.938 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.1594, allocations: 11.92 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.1595, allocations: 47.84 kB / 0.8985 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.1596, allocations: 27.86 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.1596, allocations: 15.92 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.1597, allocations: 23.86 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1597, allocations: 0 / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.1598, allocations: 4 kB / 0.8986 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.1598, allocations: 0 / 0.8986 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1598, allocations: 23.84 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.226e-05/0.1599, allocations: 39.81 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1599, allocations: 0 / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1599, allocations: 0 / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1599, allocations: 0 / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003402/0.1602, allocations: 363.3 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1603, allocations: 8.031 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.1603, allocations: 8.844 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.453e-05/0.1604, allocations: 168.2 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1604, allocations: 8.375 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.1604, allocations: 384 / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1606, allocations: 69.97 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-06/0.1606, allocations: 7.938 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1606, allocations: 4 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1606, allocations: 3.938 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1607, allocations: 39.97 kB / 0.8993 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.161, allocations: 276.9 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.61e-05/0.1611, allocations: 46.56 kB / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.1612, allocations: 28.94 kB / 0.8996 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1612, allocations: 4 kB / 0.8996 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.1612, allocations: 34.5 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1612, allocations: 0 / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002615/0.1615, allocations: 101.5 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.24e-05/0.1615, allocations: 51.41 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.1616, allocations: 121.8 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.1616, allocations: 25.7 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.1616, allocations: 92.14 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1616, allocations: 7.844 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.1617, allocations: 9.719 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.1617, allocations: 326.8 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.1618, allocations: 19.98 kB / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.1618, allocations: 23.92 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.162, allocations: 56.77 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.162, allocations: 0 / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001612/0.1621, allocations: 77.86 kB / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1621, allocations: 6.344 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1622, allocations: 3.984 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1622, allocations: 8.031 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.1623, allocations: 15.98 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1623, allocations: 0 / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1623, allocations: 7.984 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1623, allocations: 0 / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.295e-05/0.1624, allocations: 121.7 kB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1624, allocations: 3.906 kB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.1624, allocations: 15.91 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1625, allocations: 0 / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1625, allocations: 0 / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.1625, allocations: 85.09 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1625, allocations: 4 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.1626, allocations: 4 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1626, allocations: 7.922 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001845/0.1628, allocations: 160.9 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001661/0.163, allocations: 262.6 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.314e-05/0.1631, allocations: 19.98 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.714e-05/0.1631, allocations: 107.5 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of Backend: time 3.81e-07/0.1631, allocations: 0 / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.1634, allocations: 105.6 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002795/0.1637, allocations: 0.6125 MB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.001886/0.1656, allocations: 0.5244 MB / 0.9025 GB, free: 61.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)