Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04279/0.04279, allocations: 9.134 MB / 28.99 MB, free: 0.793 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 98.3 kB / 35.33 MB, free: 1.055 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 162.3 kB / 38.73 MB, free: 2.504 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9962/0.9962, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004249/0.004249, allocations: 0.8224 MB / 276.5 MB, free: 0.75 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.691/1.691, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.999e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003645/0.003675, allocations: 1.611 MB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004761, allocations: 498.5 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.004834, allocations: 0 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.004871, allocations: 7.938 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.777e-05/0.004949, allocations: 11.86 kB / 0.64 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.005217, allocations: 35.89 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.005356, allocations: 59.72 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.005451, allocations: 11.98 kB / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.005658, allocations: 39.84 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.005738, allocations: 23.91 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.005757, allocations: 4 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.491e-05/0.005822, allocations: 4 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.005844, allocations: 11.98 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.005869, allocations: 11.94 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.009037, allocations: 39.83 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.009043, allocations: 0 / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.352e-06/0.009044, allocations: 8 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.009049, allocations: 3.938 kB / 0.6402 GB, free: 11.72 MB / 0.6043 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.0003701/0.009419, allocations: 268.7 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.009455, allocations: 11.98 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.009592, allocations: 20.92 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.009727, allocations: 121.7 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.009738, allocations: 8.375 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-06/0.009743, allocations: 384 / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.438e-05/0.009838, allocations: 58.94 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.009844, allocations: 192 / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.009856, allocations: 384 / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.009864, allocations: 7.938 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.009886, allocations: 15.92 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.0101, allocations: 156.2 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.01016, allocations: 26.62 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.01018, allocations: 8.859 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.01019, allocations: 0 / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.01021, allocations: 34.56 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.01021, allocations: 4 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001129/0.01032, allocations: 45.66 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.01035, allocations: 55.41 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.01041, allocations: 134.7 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.01042, allocations: 25.7 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.01045, allocations: 88.06 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.01047, allocations: 11.94 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.0105, allocations: 13.72 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.01056, allocations: 314.8 kB / 0.6416 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.01058, allocations: 7.984 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.01059, allocations: 4 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.01062, allocations: 20.78 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01062, allocations: 0 / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.389e-05/0.01067, allocations: 41.69 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01068, allocations: 8 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01069, allocations: 3.938 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.0107, allocations: 0 / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.01076, allocations: 4 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01077, allocations: 7.922 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.01079, allocations: 11.94 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.0108, allocations: 0 / 0.6417 GB, free: 10.05 MB / 0.6043 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 5.127e-05/0.01085, allocations: 113.8 kB / 0.6418 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.01087, allocations: 0 / 0.6418 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.01089, allocations: 27.86 kB / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01089, allocations: 0 / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01089, allocations: 0 / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.01089, allocations: 0 / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.676e-05/0.01098, allocations: 73.88 kB / 0.6419 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.01098, allocations: 0 / 0.6419 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.01101, allocations: 8 kB / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01101, allocations: 0 / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.01101, allocations: 4 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01102, allocations: 3.984 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.01102, allocations: 3.938 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.909e-05/0.01111, allocations: 135.9 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-06/0.01112, allocations: 4 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.01112, allocations: 48 / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.01116, allocations: 7.984 kB / 0.642 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.01119, allocations: 7.922 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.0112, allocations: 3.938 kB / 0.6421 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.112e-05/0.01122, allocations: 24.83 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01122, allocations: 0 / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001222/0.01134, allocations: 19.95 kB / 0.6421 GB, free: 9.578 MB / 0.6043 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 8.609e-05/0.01143, allocations: 72.42 kB / 0.6422 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.911e-05/0.01149, allocations: 16.84 kB / 0.6422 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01149, allocations: 0 / 0.6422 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.0115, allocations: 12.86 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.01162, allocations: 3.938 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.01211, allocations: 184.2 kB / 0.6424 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.545e-05/0.01215, allocations: 59.34 kB / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.01217, allocations: 0 / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.01221, allocations: 55.38 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of SimCode: time 8.92e-07/0.01222, allocations: 0 / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of Templates: time 0.002205/0.01442, allocations: 449.3 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.486898388247937]