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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 99.7 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.0013/0.0013, allocations: 177.3 kB / 15.95 MB, free: 216 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.655/1.655, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.666/1.666, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.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.0006113/0.0006115, allocations: 12 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5885, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.0018/0.5903, allocations: 1.207 MB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006825/0.591, allocations: 439.9 kB / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.5911, allocations: 0 / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.5911, allocations: 3.984 kB / 0.7296 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.5912, allocations: 7.984 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.5914, allocations: 27.84 kB / 0.7296 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.055e-05/0.5914, allocations: 27.95 kB / 0.7296 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.5916, allocations: 12 kB / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.5917, allocations: 15.92 kB / 0.7297 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.5918, allocations: 23.91 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.5918, allocations: 0 / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.5918, allocations: 4 kB / 0.7297 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.5918, allocations: 11.92 kB / 0.7297 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.5919, allocations: 29.7 kB / 0.7297 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.584e-05/0.5919, allocations: 29.92 kB / 0.7298 GB, free: 9.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.592, allocations: 0 / 0.7298 GB, free: 9.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.592, allocations: 4 kB / 0.7298 GB, free: 9.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.592, allocations: 0 / 0.7298 GB, free: 9.582 MB / 0.545 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.0004904/0.5925, allocations: 355.1 kB / 0.7301 GB, free: 9.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5925, allocations: 12.03 kB / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.5926, allocations: 3.906 kB / 0.7301 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.5927, allocations: 171 kB / 0.7303 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.5927, allocations: 7.938 kB / 0.7303 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.5927, allocations: 4 kB / 0.7303 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.5929, allocations: 57.67 kB / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5929, allocations: 0 / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.593, allocations: 0 / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.593, allocations: 4 kB / 0.7304 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.5931, allocations: 43.97 kB / 0.7304 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.5935, allocations: 276.8 kB / 0.7307 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.5937, allocations: 46.5 kB / 0.7307 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.5937, allocations: 8 kB / 0.7307 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5937, allocations: 34.5 kB / 0.7308 GB, free: 8.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5938, allocations: 0 / 0.7308 GB, free: 8.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003277/0.5941, allocations: 101.7 kB / 0.7308 GB, free: 8.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.5941, allocations: 59.3 kB / 0.7309 GB, free: 8.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.5943, allocations: 117.8 kB / 0.731 GB, free: 8.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5943, allocations: 29.64 kB / 0.731 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.5943, allocations: 96.06 kB / 0.7311 GB, free: 7.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.5944, allocations: 7.812 kB / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.5944, allocations: 0 / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5945, allocations: 318.8 kB / 0.7314 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.5946, allocations: 23.98 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.5947, allocations: 20.17 kB / 0.7315 GB, free: 7.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/0.5947, allocations: 24.06 kB / 0.7315 GB, free: 7.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5947, allocations: 0 / 0.7315 GB, free: 7.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001905/0.5949, allocations: 81.66 kB / 0.7316 GB, free: 7.504 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.595, allocations: 5.875 kB / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.595, allocations: 0 / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.595, allocations: 4 kB / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5951, allocations: 15.92 kB / 0.7316 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5951, allocations: 0 / 0.7316 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.5952, allocations: 19.86 kB / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.5952, allocations: 0 / 0.7316 GB, free: 7.461 MB / 0.545 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 8.25e-05/0.5953, allocations: 112.6 kB / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.5953, allocations: 4 kB / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.5953, allocations: 11.89 kB / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5954, allocations: 0 / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5954, allocations: 0 / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5954, allocations: 0 / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.5955, allocations: 181.6 kB / 0.7319 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5956, allocations: 0 / 0.7319 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.5956, allocations: 11.98 kB / 0.7319 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5957, allocations: 0 / 0.7319 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.5957, allocations: 0 / 0.7319 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5957, allocations: 3.938 kB / 0.7319 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5957, allocations: 0 / 0.7319 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.5959, allocations: 191.3 kB / 0.7321 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.596, allocations: 77.11 kB / 0.7322 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.596, allocations: 4 kB / 0.7322 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.5961, allocations: 7.984 kB / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.5961, allocations: 0 / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.5961, allocations: 0 / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.5962, allocations: 99.27 kB / 0.7323 GB, free: 6.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5962, allocations: 0 / 0.7323 GB, free: 6.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002138/0.5964, allocations: 7.906 kB / 0.7323 GB, free: 6.668 MB / 0.545 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.0001167/0.5965, allocations: 107.2 kB / 0.7324 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.5967, allocations: 43.97 kB / 0.7325 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5967, allocations: 4 kB / 0.7325 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.5968, allocations: 31.86 kB / 0.7325 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.597, allocations: 3.953 kB / 0.7325 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.5973, allocations: 186.4 kB / 0.7327 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.5976, allocations: 0.6887 MB / 0.7333 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.5976, allocations: 0 / 0.7333 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.5977, allocations: 7.438 kB / 0.7334 GB, free: 5.543 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5977, allocations: 0 / 0.7334 GB, free: 5.543 MB / 0.545 GB Notification: Performance of Templates: time 0.002207/0.5999, allocations: 389.5 kB / 0.7337 GB, free: 5.172 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: