Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001296, allocations: 184.8 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.489/2.489, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 100.5 kB / 0.6813 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000705/0.0007051, allocations: 15.25 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2911, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002628/0.2938, allocations: 1.219 MB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2949, allocations: 432.1 kB / 0.9006 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.295, allocations: 4 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.295, allocations: 3.938 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.2951, allocations: 7.922 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2953, allocations: 19.92 kB / 0.9007 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2955, allocations: 51.72 kB / 0.9007 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2957, allocations: 4 kB / 0.9007 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2958, allocations: 19.92 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2959, allocations: 23.91 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.296, allocations: 4 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.818e-05/0.296, allocations: 0 / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.296, allocations: 3.984 kB / 0.9008 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.2961, allocations: 41.64 kB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.2962, allocations: 19.95 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2962, allocations: 0 / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2962, allocations: 0 / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2962, allocations: 4 kB / 0.9008 GB, free: 63.53 MB / 0.6042 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.0006392/0.2969, allocations: 355.6 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.297, allocations: 11.97 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.297, allocations: 12.84 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.2972, allocations: 172.3 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2972, allocations: 384 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.2973, allocations: 8.375 kB / 0.9014 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2976, allocations: 65.92 kB / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2976, allocations: 0 / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2976, allocations: 0 / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.2976, allocations: 0 / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.298, allocations: 47.97 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.2985, allocations: 280.8 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.2987, allocations: 46.5 kB / 0.9018 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.2989, allocations: 28.94 kB / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.299, allocations: 0 / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.299, allocations: 34.56 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.299, allocations: 0 / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006571/0.2997, allocations: 101.6 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2997, allocations: 51.41 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2999, allocations: 117.8 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2999, allocations: 25.7 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.3, allocations: 92.14 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3, allocations: 19.73 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-06/0.3, allocations: 0 / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.3001, allocations: 322.7 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3003, allocations: 19.98 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3005, allocations: 27.98 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3006, allocations: 19.98 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3006, allocations: 0 / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003784/0.301, allocations: 77.61 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3011, allocations: 15.98 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3011, allocations: 3.938 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3011, allocations: 0 / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.3013, allocations: 12 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3014, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3015, allocations: 7.984 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3015, allocations: 4 kB / 0.9027 GB, free: 61.38 MB / 0.6042 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 9.58e-05/0.3016, allocations: 121.7 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.3017, allocations: 7.906 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.3018, allocations: 8.219 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3018, allocations: 4 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3018, allocations: 0 / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3018, allocations: 3.984 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.3021, allocations: 169.6 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3021, allocations: 0 / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3023, allocations: 11.98 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3023, allocations: 0 / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3023, allocations: 12 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3023, allocations: 0 / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3023, allocations: 0 / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.3028, allocations: 175.4 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.3028, allocations: 85.11 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3029, allocations: 0 / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3031, allocations: 7.984 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.3031, allocations: 7.938 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.3032, allocations: 0 / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.3032, allocations: 95.27 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.01e-07/0.3032, allocations: 0 / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005096/0.3038, allocations: 8 kB / 0.9034 GB, free: 60.57 MB / 0.6042 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.0001263/0.3039, allocations: 99.25 kB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.3043, allocations: 51.95 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3043, allocations: 0 / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.3045, allocations: 27.98 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.305, allocations: 3.938 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.3055, allocations: 190.3 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.3057, allocations: 0.6848 MB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.974e-05/0.3058, allocations: 4 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.3058, allocations: 11.42 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/0.3059, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.003561/0.3094, allocations: 389.8 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)