Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.001008/0.001008, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 62.56 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002796/0.3308, allocations: 1.504 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.3315, allocations: 422.9 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.3316, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.3316, allocations: 3.938 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.3317, allocations: 7.875 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.3318, allocations: 19.97 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.969e-05/0.3319, allocations: 51.73 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.332, allocations: 19.95 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.3321, allocations: 19.94 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.3322, allocations: 27.91 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3322, allocations: 4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.3323, allocations: 3.938 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.3323, allocations: 11.94 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.3323, allocations: 19.86 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.48e-05/0.3324, allocations: 44.16 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3324, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3324, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3324, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 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.0004541/0.3329, allocations: 367.2 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3329, allocations: 12.03 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.333, allocations: 4.844 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3331, allocations: 168.3 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3331, allocations: 4.375 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.3331, allocations: 4.312 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3333, allocations: 57.98 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3333, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3333, allocations: 7.984 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3333, allocations: 4 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3335, allocations: 35.92 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.3338, allocations: 272.8 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.334, allocations: 46.53 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.3341, allocations: 24.94 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3341, allocations: 7.984 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3341, allocations: 34.5 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3341, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002998/0.3344, allocations: 85.56 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.3345, allocations: 55.41 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.3346, allocations: 122.2 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3346, allocations: 29.64 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.3346, allocations: 88.14 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.3347, allocations: 3.906 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.3347, allocations: 21.7 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3348, allocations: 318.8 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.3349, allocations: 15.98 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.335, allocations: 19.98 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3351, allocations: 44.77 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3351, allocations: 4 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001816/0.3353, allocations: 69.58 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3353, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3353, allocations: 3.984 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3353, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.3354, allocations: 8 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3355, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.3355, allocations: 7.984 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3355, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.3356, allocations: 117.8 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3357, allocations: 11.84 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.3357, allocations: 3.906 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3357, allocations: 7.922 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3357, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3357, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3359, allocations: 181.6 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3359, allocations: 0 / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.336, allocations: 7.984 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.336, allocations: 4 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.336, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.336, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.336, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3362, allocations: 171.5 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.3363, allocations: 84.95 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3363, allocations: 384 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.3364, allocations: 7.984 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3364, allocations: 4 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3364, allocations: 4 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.3365, allocations: 99.25 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3365, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002236/0.3367, allocations: 8 kB / 1.073 GB, free: 5.27 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.3368, allocations: 97.34 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.337, allocations: 43.95 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.337, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.3371, allocations: 27.91 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3373, allocations: 12.88 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3377, allocations: 160.2 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.338, allocations: 0.6807 MB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.338, allocations: 4 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.338, allocations: 11.44 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.338, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.002259/0.3403, allocations: 453.1 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)