Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.853/4.853, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002486/0.002486, allocations: 366.1 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.063/4.063, allocations: 410.7 MB / 1.113 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001854/0.001854, allocations: 188.9 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004795, allocations: 16 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6923, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001749/0.6941, allocations: 1.208 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007626/0.6949, allocations: 436 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.695, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.695, allocations: 5.281 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.6951, allocations: 11.86 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.6952, allocations: 16.66 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.6953, allocations: 43.8 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.6954, allocations: 9.438 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.6955, allocations: 20.77 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.6956, allocations: 19.92 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.6956, allocations: 5.312 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.6957, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.6957, allocations: 11.91 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.6957, allocations: 33.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.6e-05/0.6958, allocations: 22.72 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6958, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6958, allocations: 1.312 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6958, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 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.0004871/0.6963, allocations: 364.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6964, allocations: 15.61 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.6964, allocations: 5 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.6966, allocations: 174.9 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6966, allocations: 8.625 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.6966, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.6968, allocations: 59.45 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6968, allocations: 3.938 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6969, allocations: 1.625 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6969, allocations: 1.031 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.6971, allocations: 46.75 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.6975, allocations: 272.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.6977, allocations: 44.09 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.6978, allocations: 26.66 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.6978, allocations: 7.984 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.6979, allocations: 35.56 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.6979, allocations: 0.6562 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004531/0.6983, allocations: 105.9 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.6984, allocations: 55.36 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.6985, allocations: 119.4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.6985, allocations: 26.61 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.6985, allocations: 96.12 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.6986, allocations: 9.062 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.6986, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.6987, allocations: 319.5 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.6988, allocations: 17.83 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.6989, allocations: 19.98 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.6991, allocations: 25.55 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6991, allocations: 1.406 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000278/0.6994, allocations: 86.55 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.6994, allocations: 7.938 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6994, allocations: 3.938 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6994, allocations: 4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.6996, allocations: 12.83 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.6996, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.6997, allocations: 9.109 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.6997, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 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 6.557e-05/0.6998, allocations: 115.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.6998, allocations: 11.89 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.6999, allocations: 3.906 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6999, allocations: 3.938 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6999, allocations: 0.8125 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.6999, allocations: 85.11 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.7, allocations: 4.484 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.7001, allocations: 9.328 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.7002, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003511/0.7005, allocations: 163.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003099/0.7008, allocations: 257.6 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001236/0.701, allocations: 20.58 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.701, allocations: 102.3 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of Backend: time 5.61e-07/0.7011, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.7015, allocations: 108.9 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003959/0.7019, allocations: 0.6222 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.003115/0.7051, allocations: 0.5176 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB