Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 106.7 kB / 16.36 MB, free: 6.258 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.00133/0.00133, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2015, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002775/0.2043, allocations: 1.504 MB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000716/0.205, allocations: 455.8 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.205, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.2051, allocations: 7.922 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.2051, allocations: 11.86 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.2053, allocations: 23.86 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.2054, allocations: 47.84 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2055, allocations: 12 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.2056, allocations: 27.86 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.2057, allocations: 27.89 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.2057, allocations: 0 / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.2058, allocations: 7.938 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.887e-05/0.2058, allocations: 4 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.2058, allocations: 23.86 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.2059, allocations: 51.75 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2059, allocations: 4 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2059, allocations: 0 / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2059, allocations: 0 / 0.7869 GB, free: 0.9258 MB / 0.6544 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.0004935/0.2064, allocations: 359.3 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2065, allocations: 12.02 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2065, allocations: 8.844 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2067, allocations: 172.2 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2067, allocations: 384 / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2067, allocations: 4.375 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2069, allocations: 65.92 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2069, allocations: 3.938 kB / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2069, allocations: 0 / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2069, allocations: 4 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.2071, allocations: 31.97 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3176/0.5247, allocations: 269 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.5249, allocations: 45.66 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.525, allocations: 23.97 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.525, allocations: 0.9375 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.525, allocations: 31.66 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.525, allocations: 0 / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002951/0.5253, allocations: 91.8 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.382e-05/0.5253, allocations: 51.41 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.295e-05/0.5254, allocations: 124.2 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.5254, allocations: 28.45 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.5254, allocations: 88.77 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.5255, allocations: 5.156 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.5255, allocations: 18.58 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.5255, allocations: 317.6 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.5256, allocations: 16.3 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.5257, allocations: 21.69 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.5258, allocations: 43.47 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5258, allocations: 0 / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001491/0.526, allocations: 78.41 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.526, allocations: 3.719 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.526, allocations: 7.688 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.526, allocations: 5.062 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.5261, allocations: 8.312 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5261, allocations: 0 / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.5262, allocations: 8.328 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.5262, allocations: 2.266 kB / 0.7888 GB, free: 48.01 MB / 0.6544 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.303e-05/0.5262, allocations: 110.4 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.5263, allocations: 4.875 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.5263, allocations: 16.83 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5263, allocations: 2.625 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5263, allocations: 2.156 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.5263, allocations: 84.81 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.5264, allocations: 2.875 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.5264, allocations: 6.453 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.5265, allocations: 0.5312 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001931/0.5267, allocations: 154.5 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001731/0.5269, allocations: 245.3 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.752e-05/0.5269, allocations: 26.77 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.736e-05/0.527, allocations: 88.39 kB / 0.7895 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of Backend: time 3.71e-07/0.527, allocations: 0.625 kB / 0.7895 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.5273, allocations: 107.2 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002984/0.5276, allocations: 0.5938 MB / 0.7902 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.002232/0.5299, allocations: 0.6093 MB / 0.7908 GB, free: 46.76 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)