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.001388/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001656/0.001656, allocations: 194.5 kB / 16.14 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.23 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3142, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002916/0.3171, allocations: 1.554 MB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.3179, allocations: 418.9 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.3179, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.318, allocations: 3.984 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.318, allocations: 15.86 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3182, allocations: 11.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.3183, allocations: 47.73 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.3184, allocations: 23.97 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.3185, allocations: 19.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.3186, allocations: 23.91 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3186, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.3186, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.3186, allocations: 3.938 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.3187, allocations: 23.86 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.706e-05/0.3187, allocations: 36.16 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3187, allocations: 4 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3188, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.3188, allocations: 0 / 1.07 GB, free: 8.738 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.0004391/0.3192, allocations: 367.3 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3192, allocations: 8.031 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.3193, allocations: 8.844 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3194, allocations: 176.2 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3194, allocations: 8.25 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3194, allocations: 8.359 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3196, allocations: 61.98 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.3196, allocations: 3.984 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3196, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3196, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.3198, allocations: 35.97 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.3201, allocations: 276.8 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3202, allocations: 42.56 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.3203, allocations: 24.94 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3203, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3204, allocations: 30.56 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.3204, allocations: 4 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003016/0.3207, allocations: 93.5 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3207, allocations: 51.41 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3209, allocations: 121.8 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3209, allocations: 25.7 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.3209, allocations: 84.14 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.3209, allocations: 7.906 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.321, allocations: 25.7 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.3211, allocations: 314.8 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.3212, allocations: 15.98 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.3212, allocations: 19.98 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3214, allocations: 40.83 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3214, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001765/0.3216, allocations: 81.5 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3216, allocations: 8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3216, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3216, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3217, allocations: 8 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3217, allocations: 3.984 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.3218, allocations: 4 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.3218, allocations: 0 / 1.072 GB, free: 6.594 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.794e-05/0.3219, allocations: 121.7 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.3219, allocations: 7.906 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.3219, allocations: 7.891 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.322, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.322, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.322, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3221, allocations: 169.6 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3222, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.3222, allocations: 11.98 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3222, allocations: 3.938 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3223, allocations: 8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3223, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3223, allocations: 336 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3225, allocations: 175.4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.3226, allocations: 84.95 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3226, allocations: 4 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.3227, allocations: 7.984 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3227, allocations: 4 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3227, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.3228, allocations: 95.27 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000217/0.323, allocations: 8 kB / 1.072 GB, free: 5.789 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 9.478e-05/0.3231, allocations: 103.2 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3233, allocations: 51.89 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3233, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.3234, allocations: 19.98 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.3236, allocations: 4.5 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.324, allocations: 180.1 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.3243, allocations: 0.6809 MB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.3243, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.3243, allocations: 11.44 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3243, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of Templates: time 0.002739/0.3271, allocations: 395.2 kB / 1.074 GB, free: 4.309 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)