Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.791/2.791, allocations: 287.3 MB / 302.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 180.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 101 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.000642, allocations: 11.94 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2191, allocations: 115.3 MB / 0.9782 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001761/0.2209, allocations: 1.199 MB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.2217, allocations: 437.2 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.2217, allocations: 0 / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.2218, allocations: 4 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.701e-05/0.2219, allocations: 11.92 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.222, allocations: 15.98 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.2221, allocations: 27.94 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.2222, allocations: 15.98 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2223, allocations: 19.92 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.2224, allocations: 15.92 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2225, allocations: 4 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.2225, allocations: 4 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.2225, allocations: 11.92 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.2225, allocations: 29.7 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.292e-05/0.2226, allocations: 32.16 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2226, allocations: 0 / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2227, allocations: 0 / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2227, allocations: 0 / 0.98 GB, free: 26.51 MB / 0.6198 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.0005514/0.2232, allocations: 359.2 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2233, allocations: 12.03 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.2233, allocations: 0 / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2234, allocations: 182.8 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2235, allocations: 4 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2235, allocations: 0 / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.2237, allocations: 57.67 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2238, allocations: 7.984 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2238, allocations: 0 / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2238, allocations: 4 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.224, allocations: 35.98 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.2244, allocations: 284.8 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2246, allocations: 38.56 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2247, allocations: 4 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2247, allocations: 30.56 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.2247, allocations: 0 / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004573/0.2252, allocations: 105.6 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2252, allocations: 55.36 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.2253, allocations: 121.8 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2253, allocations: 29.7 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.2254, allocations: 92.12 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2254, allocations: 7.906 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2254, allocations: 3.938 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.2255, allocations: 314.8 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.2256, allocations: 23.98 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.2257, allocations: 23.98 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2259, allocations: 24.27 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2259, allocations: 0 / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002764/0.2262, allocations: 85.5 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2262, allocations: 8 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2262, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2262, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2264, allocations: 15.98 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2264, allocations: 0 / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.2265, allocations: 11.94 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2265, allocations: 0 / 0.9818 GB, free: 24.39 MB / 0.6198 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.053e-05/0.2266, allocations: 117.8 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2266, allocations: 7.906 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.2267, allocations: 7.906 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.2267, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2267, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2267, allocations: 4 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.2269, allocations: 181.5 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2269, allocations: 0 / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2271, allocations: 11.98 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2271, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2271, allocations: 4 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2271, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2271, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2274, allocations: 183.4 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.2275, allocations: 85.02 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.2275, allocations: 0 / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2277, allocations: 8 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.2277, allocations: 3.984 kB / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.2277, allocations: 0 / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.2278, allocations: 99.64 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2278, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002857/0.2281, allocations: 8 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000117/0.2282, allocations: 99.25 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.2285, allocations: 43.97 kB / 0.9827 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2285, allocations: 3.938 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.2287, allocations: 27.98 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.2289, allocations: 15.89 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.2293, allocations: 182.4 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.2295, allocations: 0.6809 MB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.244e-05/0.2295, allocations: 11.98 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.2296, allocations: 7.438 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.2296, allocations: 3.938 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.002854/0.2324, allocations: 385.7 kB / 0.9839 GB, free: 22.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)