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.0009065/0.0009065, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.000951/0.000951, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.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.677/1.677, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005032/0.0005034, allocations: 17.91 kB / 0.6735 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2399, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001884/0.2418, allocations: 1.203 MB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.2425, allocations: 437.4 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.2426, allocations: 0 / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.2426, allocations: 0 / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.2427, allocations: 15.92 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.2429, allocations: 15.97 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.243, allocations: 27.95 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2431, allocations: 11.98 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2432, allocations: 19.92 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.2433, allocations: 19.91 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2433, allocations: 7.938 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.2434, allocations: 4 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2434, allocations: 4 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.2434, allocations: 29.7 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.82e-05/0.2435, allocations: 32.17 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2435, allocations: 0 / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2435, allocations: 0 / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.2435, allocations: 0 / 0.7889 GB, free: 10.1 MB / 0.6075 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.0004903/0.244, allocations: 367.1 kB / 0.7892 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2441, allocations: 8.031 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.2441, allocations: 4 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2442, allocations: 182.8 kB / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2443, allocations: 0 / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2443, allocations: 0 / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2445, allocations: 61.67 kB / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2445, allocations: 0 / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2445, allocations: 4 kB / 0.7895 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2445, allocations: 0 / 0.7895 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.2447, allocations: 43.97 kB / 0.7895 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.2451, allocations: 272.9 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2452, allocations: 50.55 kB / 0.7898 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2452, allocations: 0 / 0.7898 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2453, allocations: 30.56 kB / 0.7899 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2453, allocations: 0 / 0.7899 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003331/0.2456, allocations: 109.6 kB / 0.79 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2457, allocations: 51.41 kB / 0.79 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.2458, allocations: 125.7 kB / 0.7901 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2458, allocations: 25.7 kB / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.2458, allocations: 88.14 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2459, allocations: 11.91 kB / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.2459, allocations: 4 kB / 0.7903 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.246, allocations: 314.8 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.2461, allocations: 19.98 kB / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.2461, allocations: 23.98 kB / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.891e-05/0.2462, allocations: 23.98 kB / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2462, allocations: 0 / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001775/0.2464, allocations: 85.52 kB / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2464, allocations: 8 kB / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2464, allocations: 0 / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2465, allocations: 4 kB / 0.7907 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2466, allocations: 11.98 kB / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2466, allocations: 0 / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.2466, allocations: 4 kB / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2467, allocations: 15.88 kB / 0.7908 GB, free: 7.977 MB / 0.6075 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.361e-05/0.2467, allocations: 105.8 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.2468, allocations: 8.234 kB / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.2468, allocations: 11.91 kB / 0.7909 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2468, allocations: 7.984 kB / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2468, allocations: 0 / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2468, allocations: 0 / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.247, allocations: 177.5 kB / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.247, allocations: 0 / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.2471, allocations: 8 kB / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2471, allocations: 0 / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2471, allocations: 7.984 kB / 0.7911 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2471, allocations: 4 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2471, allocations: 0 / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.2474, allocations: 175.4 kB / 0.7912 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.2474, allocations: 89 kB / 0.7913 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2474, allocations: 0 / 0.7913 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.2475, allocations: 8 kB / 0.7913 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.2476, allocations: 7.984 kB / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2476, allocations: 0 / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.642e-05/0.2476, allocations: 91.27 kB / 0.7914 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2476, allocations: 0 / 0.7914 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000215/0.2479, allocations: 12 kB / 0.7914 GB, free: 7.176 MB / 0.6075 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.0001132/0.248, allocations: 95.25 kB / 0.7915 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2482, allocations: 51.91 kB / 0.7916 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2482, allocations: 3.938 kB / 0.7916 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.2483, allocations: 23.98 kB / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.2484, allocations: 12.72 kB / 0.7916 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.2488, allocations: 182.4 kB / 0.7918 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.249, allocations: 0.6887 MB / 0.7925 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.2491, allocations: 4 kB / 0.7925 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.2491, allocations: 15.42 kB / 0.7925 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2491, allocations: 0 / 0.7925 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.002417/0.2515, allocations: 381 kB / 0.7929 GB, free: 5.68 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: