Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.175/2.175, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001243/0.001243, allocations: 179.6 kB / 326.3 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.226/2.226, allocations: 205.4 MB / 0.5772 GB, free: 20.7 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.0008706/0.0008703, allocations: 102 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004662, allocations: 15.59 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1956, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001823/0.1975, allocations: 1.215 MB / 0.9007 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007856/0.1983, allocations: 432.1 kB / 0.9011 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.1984, allocations: 0 / 0.9011 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.1984, allocations: 7.922 kB / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.1985, allocations: 3.938 kB / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1987, allocations: 27.91 kB / 0.9011 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.1988, allocations: 39.8 kB / 0.9012 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.1989, allocations: 11.98 kB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.199, allocations: 15.94 kB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.1991, allocations: 23.91 kB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1991, allocations: 0 / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.1991, allocations: 0 / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1991, allocations: 11.98 kB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.1992, allocations: 33.64 kB / 0.9013 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.015e-05/0.1993, allocations: 27.95 kB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1993, allocations: 0 / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.715e-06/0.1993, allocations: 3.984 kB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1993, allocations: 3.938 kB / 0.9013 GB, free: 63.63 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.0004798/0.1998, allocations: 355.6 kB / 0.9016 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1998, allocations: 15.97 kB / 0.9017 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1999, allocations: 8.844 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.2, allocations: 172.3 kB / 0.9018 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2, allocations: 384 / 0.9018 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2, allocations: 4.375 kB / 0.9018 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.2003, allocations: 69.92 kB / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2003, allocations: 0 / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2003, allocations: 0 / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2003, allocations: 0 / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.2006, allocations: 43.97 kB / 0.902 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.201, allocations: 276.8 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.2012, allocations: 54.48 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2013, allocations: 28.94 kB / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.2013, allocations: 0 / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.2014, allocations: 30.56 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.2014, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004562/0.2018, allocations: 101.7 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.2019, allocations: 51.41 kB / 0.9025 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.202, allocations: 117.8 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.202, allocations: 29.7 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.202, allocations: 88.14 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2021, allocations: 15.73 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.2021, allocations: 4 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.2022, allocations: 322.8 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2023, allocations: 19.98 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2024, allocations: 27.98 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.2025, allocations: 19.92 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2025, allocations: 0 / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002779/0.2028, allocations: 73.95 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2029, allocations: 13.56 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2029, allocations: 3.938 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2029, allocations: 0 / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.2031, allocations: 16.03 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2031, allocations: 0 / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.2032, allocations: 15.98 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2032, allocations: 3.984 kB / 0.9032 GB, free: 61.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.26e-05/0.2033, allocations: 117.7 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.2033, allocations: 7.906 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.2034, allocations: 7.906 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2034, allocations: 4 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2034, allocations: 3.938 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.2034, allocations: 81.02 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2035, allocations: 3.984 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2036, allocations: 4 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2037, allocations: 7.938 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003552/0.204, allocations: 168.9 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003094/0.2044, allocations: 246.8 kB / 0.9038 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001459/0.2045, allocations: 27.97 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.2046, allocations: 87.28 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of Backend: time 8.11e-07/0.2046, allocations: 0 / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.2051, allocations: 106.4 kB / 0.904 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004257/0.2055, allocations: 0.6324 MB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.003143/0.2087, allocations: 0.5189 MB / 0.9052 GB, free: 59.37 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)