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.04022/0.04022, allocations: 9.132 MB / 28.99 MB, free: 0.8281 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.0008782/0.0008782, allocations: 91.16 kB / 35.33 MB, free: 1.09 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.0009262/0.0009262, allocations: 167.6 kB / 38.73 MB, free: 2.52 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.9657/0.9657, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004143/0.004143, allocations: 0.8185 MB / 276.5 MB, free: 0.7422 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.661/1.661, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.212e-06/1.212e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.574e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001693/0.001708, allocations: 1.568 MB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.002281, allocations: 490.5 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.002332, allocations: 0 / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.002358, allocations: 3.938 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.002411, allocations: 23.78 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.002597, allocations: 35.91 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.002705, allocations: 59.72 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.079e-05/0.002776, allocations: 7.984 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.002888, allocations: 39.84 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.00294, allocations: 19.97 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.002953, allocations: 0 / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.002991, allocations: 8 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.003004, allocations: 11.92 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.003022, allocations: 19.98 kB / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.806e-05/0.00311, allocations: 43.77 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003112, allocations: 0 / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003112, allocations: 0 / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.003116, allocations: 0 / 0.6401 GB, free: 11.81 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.000272/0.003388, allocations: 268.7 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.003415, allocations: 11.98 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.003524, allocations: 20.91 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.00364, allocations: 125.8 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-06/0.003647, allocations: 4.375 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.003655, allocations: 4.375 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.039e-05/0.003736, allocations: 62.88 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.003741, allocations: 192 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-06/0.003747, allocations: 384 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.003753, allocations: 7.875 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.003771, allocations: 7.984 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.003942, allocations: 160.2 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.66e-05/0.003989, allocations: 22.58 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.004003, allocations: 12.86 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.004014, allocations: 0 / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.004032, allocations: 38.58 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004033, allocations: 0 / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.656e-05/0.004129, allocations: 45.62 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.004154, allocations: 55.47 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.004213, allocations: 123 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.004221, allocations: 25.7 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.004248, allocations: 96.05 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.004262, allocations: 3.953 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.004284, allocations: 21.72 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.004347, allocations: 322.8 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.004355, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.004364, allocations: 7.938 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.004386, allocations: 12.84 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.004387, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.018e-05/0.004427, allocations: 41.97 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.004437, allocations: 7.906 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.004441, allocations: 3.984 kB / 0.6416 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004452, allocations: 3.984 kB / 0.6416 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/0.004503, allocations: 11.98 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.004508, allocations: 4 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.004526, allocations: 3.953 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.004532, allocations: 4 kB / 0.6416 GB, free: 10.14 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 4.542e-05/0.004577, allocations: 109.8 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.004591, allocations: 7.984 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.004609, allocations: 11.94 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.00461, allocations: 0 / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.004612, allocations: 4 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004615, allocations: 3.938 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.347e-05/0.004688, allocations: 73.88 kB / 0.6418 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.004689, allocations: 8 kB / 0.6418 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.004708, allocations: 7.984 kB / 0.6418 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.004709, allocations: 0 / 0.6418 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.004715, allocations: 8 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004715, allocations: 0 / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.004717, allocations: 7.922 kB / 0.6418 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.08e-05/0.004778, allocations: 135.5 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-06/0.004783, allocations: 0 / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.004793, allocations: 4 kB / 0.6419 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.038e-05/0.004823, allocations: 3.984 kB / 0.642 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.004847, allocations: 7.938 kB / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.004848, allocations: 4 kB / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.612e-05/0.004864, allocations: 28.95 kB / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004864, allocations: 0 / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001132/0.004978, allocations: 11.95 kB / 0.642 GB, free: 9.668 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 6.304e-05/0.005041, allocations: 80.41 kB / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.862e-05/0.005089, allocations: 12.86 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005091, allocations: 0 / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.005108, allocations: 16.78 kB / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.622e-05/0.005204, allocations: 12 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.005596, allocations: 172.3 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.847e-05/0.005625, allocations: 55.36 kB / 0.6423 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.005643, allocations: 4 kB / 0.6423 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.00568, allocations: 55.36 kB / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of SimCode: time 2.91e-07/0.005681, allocations: 4 kB / 0.6424 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of Templates: time 0.00159/0.007271, allocations: 453.2 kB / 0.6428 GB, free: 8.758 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 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4955900949425995]