Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.07058/0.07058, allocations: 9.129 MB / 28.99 MB, free: 344 kB / 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.001547/0.001547, allocations: 95.27 kB / 35.32 MB, free: 0.9375 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.002086/0.002086, allocations: 165.2 kB / 38.73 MB, free: 2.406 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 1.017/1.017, allocations: 177.1 MB / 219.2 MB, free: 10.13 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.003977/0.003977, allocations: 0.8207 MB / 276.5 MB, free: 0.7617 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.758/1.758, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 3.984 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.955e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003312/0.003342, allocations: 2.238 MB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004688/0.00803, allocations: 4.23 MB / 0.6442 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.008156, allocations: 7.938 kB / 0.6442 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.008917, allocations: 183 kB / 0.6444 GB, free: 7.387 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.009058, allocations: 83.22 kB / 0.6445 GB, free: 7.305 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.009629, allocations: 319 kB / 0.6448 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.01019, allocations: 462.5 kB / 0.6452 GB, free: 6.539 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.0103, allocations: 42.86 kB / 0.6453 GB, free: 6.492 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.0105, allocations: 183.5 kB / 0.6454 GB, free: 6.312 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.01065, allocations: 131.6 kB / 0.6456 GB, free: 6.184 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.01068, allocations: 20 kB / 0.6456 GB, free: 6.164 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.01114, allocations: 359.3 kB / 0.6459 GB, free: 5.812 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.01125, allocations: 119.7 kB / 0.646 GB, free: 5.695 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.01135, allocations: 107.7 kB / 0.6461 GB, free: 5.59 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.01191, allocations: 0.549 MB / 0.6467 GB, free: 5.039 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01191, allocations: 0 / 0.6467 GB, free: 5.039 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01191, allocations: 0 / 0.6467 GB, free: 5.039 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.01192, allocations: 0 / 0.6467 GB, free: 5.039 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008102/0.01273, allocations: 0.675 MB / 0.6473 GB, free: 4.332 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.01277, allocations: 11.98 kB / 0.6473 GB, free: 4.32 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005074/0.01327, allocations: 136.8 kB / 0.6475 GB, free: 4.188 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.01355, allocations: 259.9 kB / 0.6477 GB, free: 3.91 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.01357, allocations: 8.562 kB / 0.6477 GB, free: 3.902 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.01359, allocations: 12.38 kB / 0.6477 GB, free: 3.891 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.01386, allocations: 169.5 kB / 0.6479 GB, free: 3.715 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.01387, allocations: 4 kB / 0.6479 GB, free: 3.711 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.01388, allocations: 4 kB / 0.6479 GB, free: 3.707 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.01389, allocations: 0 / 0.6479 GB, free: 3.707 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.01398, allocations: 47.92 kB / 0.648 GB, free: 3.66 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.01456, allocations: 357.5 kB / 0.6483 GB, free: 3.293 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.01468, allocations: 105.3 kB / 0.6484 GB, free: 3.18 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.01474, allocations: 36.98 kB / 0.6484 GB, free: 3.141 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.381e-05/0.01479, allocations: 27.92 kB / 0.6485 GB, free: 3.113 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.01482, allocations: 30.81 kB / 0.6485 GB, free: 3.074 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.01482, allocations: 4 kB / 0.6485 GB, free: 3.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.0002635/0.01509, allocations: 141.6 kB / 0.6486 GB, free: 2.926 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.01512, allocations: 59.39 kB / 0.6487 GB, free: 2.855 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.01535, allocations: 363.2 kB / 0.649 GB, free: 2.484 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.01537, allocations: 29.7 kB / 0.6491 GB, free: 2.449 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.01544, allocations: 145.4 kB / 0.6492 GB, free: 2.305 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.01549, allocations: 43.62 kB / 0.6492 GB, free: 2.262 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.01555, allocations: 49.67 kB / 0.6493 GB, free: 2.207 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.01566, allocations: 358.6 kB / 0.6496 GB, free: 1.848 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/0.01576, allocations: 96.58 kB / 0.6497 GB, free: 1.746 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.01584, allocations: 74.16 kB / 0.6498 GB, free: 1.668 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.016, allocations: 153.3 kB / 0.6499 GB, free: 1.508 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01601, allocations: 0 / 0.6499 GB, free: 1.508 MB / 0.6043 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002231/0.01623, allocations: 234.3 kB / 0.6502 GB, free: 1.262 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.01626, allocations: 45.69 kB / 0.6502 GB, free: 1.211 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01627, allocations: 3.984 kB / 0.6502 GB, free: 1.207 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.01628, allocations: 4 kB / 0.6502 GB, free: 1.203 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.01646, allocations: 55.88 kB / 0.6503 GB, free: 1.148 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.01646, allocations: 4 kB / 0.6503 GB, free: 1.145 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01657, allocations: 43.75 kB / 0.6503 GB, free: 1.102 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.01658, allocations: 4 kB / 0.6503 GB, free: 1.098 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.667e-05/0.01667, allocations: 116.7 kB / 0.6504 GB, free: 0.9727 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.01671, allocations: 27.91 kB / 0.6505 GB, free: 0.9453 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.01693, allocations: 169 kB / 0.6506 GB, free: 0.7773 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01693, allocations: 4 kB / 0.6506 GB, free: 0.7734 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01693, allocations: 0 / 0.6506 GB, free: 0.7734 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01694, allocations: 0 / 0.6506 GB, free: 0.7734 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.01711, allocations: 161.7 kB / 0.6508 GB, free: 0.5977 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01711, allocations: 0 / 0.6508 GB, free: 0.5977 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.01724, allocations: 51.94 kB / 0.6508 GB, free: 0.5469 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01725, allocations: 0 / 0.6508 GB, free: 0.5469 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.01726, allocations: 11.92 kB / 0.6508 GB, free: 0.5352 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01726, allocations: 4 kB / 0.6508 GB, free: 0.5312 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01727, allocations: 0 / 0.6508 GB, free: 0.5312 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.01746, allocations: 250.2 kB / 0.6511 GB, free: 276 kB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.01753, allocations: 51.64 kB / 0.6511 GB, free: 224 kB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.01756, allocations: 7.938 kB / 0.6511 GB, free: 216 kB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.01766, allocations: 23.97 kB / 0.6512 GB, free: 192 kB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.01771, allocations: 19.97 kB / 0.6512 GB, free: 172 kB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.01772, allocations: 7.984 kB / 0.6512 GB, free: 164 kB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001089/0.01783, allocations: 156.7 kB / 0.6513 GB, free: 8 kB / 0.6043 GB Notification: Performance of sort global known variables: time 2.3e-07/0.01783, allocations: 0 / 0.6513 GB, free: 8 kB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002712/0.0181, allocations: 127.8 kB / 0.6515 GB, free: 15.88 MB / 0.6199 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 (13): * Single equations (assignments): 13 * 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.0002318/0.01833, allocations: 180 kB / 0.6516 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.0186, allocations: 233.9 kB / 0.6518 GB, free: 15.45 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.01861, allocations: 4 kB / 0.6519 GB, free: 15.44 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.01868, allocations: 56.75 kB / 0.6519 GB, free: 15.38 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01896, allocations: 69.86 kB / 0.652 GB, free: 15.32 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.01988, allocations: 0.6008 MB / 0.6526 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.01995, allocations: 108.3 kB / 0.6527 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.02008, allocations: 41.92 kB / 0.6527 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.02026, allocations: 107.3 kB / 0.6528 GB, free: 14.41 MB / 0.6199 GB Notification: Performance of SimCode: time 8.21e-07/0.02026, allocations: 0 / 0.6528 GB, free: 14.41 MB / 0.6199 GB Notification: Performance of Templates: time 0.007634/0.02789, allocations: 5.937 MB / 0.6586 GB, free: 8.469 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.672606234904379]