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.04105/0.04105, allocations: 9.13 MB / 28.99 MB, free: 0.8086 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.0008917/0.0008917, allocations: 90.38 kB / 35.33 MB, free: 1.074 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.001065/0.001065, allocations: 163.8 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.9749/0.9749, 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.006753/0.006753, allocations: 0.8218 MB / 276.5 MB, free: 0.7461 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.659/1.659, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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 1.924e-06/1.924e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.209e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002712/0.002735, allocations: 2.183 MB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004511/0.007246, allocations: 4.242 MB / 0.6441 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.00735, allocations: 4 kB / 0.6441 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0007263/0.008076, allocations: 175 kB / 0.6443 GB, free: 7.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.008305, allocations: 91.2 kB / 0.6444 GB, free: 7.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.008823, allocations: 339 kB / 0.6447 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.009356, allocations: 462.4 kB / 0.6451 GB, free: 6.625 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.009466, allocations: 46.86 kB / 0.6452 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.009662, allocations: 195.4 kB / 0.6454 GB, free: 6.383 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.009804, allocations: 123.7 kB / 0.6455 GB, free: 6.262 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.009835, allocations: 20 kB / 0.6455 GB, free: 6.242 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.01022, allocations: 327.4 kB / 0.6458 GB, free: 5.922 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.01033, allocations: 115.7 kB / 0.6459 GB, free: 5.809 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.536e-05/0.01042, allocations: 115.6 kB / 0.646 GB, free: 5.695 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.01111, allocations: 0.545 MB / 0.6466 GB, free: 5.148 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01112, allocations: 0 / 0.6466 GB, free: 5.148 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.21e-07/0.01112, allocations: 0 / 0.6466 GB, free: 5.148 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.01112, allocations: 0 / 0.6466 GB, free: 5.148 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.0007261/0.01185, allocations: 0.6828 MB / 0.6472 GB, free: 4.434 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.01188, allocations: 11.98 kB / 0.6473 GB, free: 4.422 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.01232, allocations: 124.8 kB / 0.6474 GB, free: 4.301 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.01257, allocations: 263.9 kB / 0.6476 GB, free: 4.02 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.01259, allocations: 8.562 kB / 0.6476 GB, free: 4.012 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.01261, allocations: 12.38 kB / 0.6477 GB, free: 4 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.01287, allocations: 173.5 kB / 0.6478 GB, free: 3.82 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.01288, allocations: 3.984 kB / 0.6478 GB, free: 3.816 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.01289, allocations: 4 kB / 0.6478 GB, free: 3.812 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.0129, allocations: 0 / 0.6478 GB, free: 3.812 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.01299, allocations: 47.92 kB / 0.6479 GB, free: 3.766 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.01354, allocations: 353.5 kB / 0.6482 GB, free: 3.402 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.01366, allocations: 109.3 kB / 0.6483 GB, free: 3.285 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.01372, allocations: 44.97 kB / 0.6484 GB, free: 3.238 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.01376, allocations: 23.88 kB / 0.6484 GB, free: 3.215 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.01378, allocations: 38.55 kB / 0.6484 GB, free: 3.168 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.01378, allocations: 0 / 0.6484 GB, free: 3.168 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.0002281/0.01401, allocations: 133.6 kB / 0.6485 GB, free: 3.031 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.01404, allocations: 51.41 kB / 0.6486 GB, free: 2.969 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.01426, allocations: 367.2 kB / 0.6489 GB, free: 2.594 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.01428, allocations: 29.7 kB / 0.649 GB, free: 2.559 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.01434, allocations: 149.4 kB / 0.6491 GB, free: 2.41 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.01438, allocations: 43.62 kB / 0.6492 GB, free: 2.367 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.01444, allocations: 49.66 kB / 0.6492 GB, free: 2.312 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0004268/0.01486, allocations: 362.6 kB / 0.6495 GB, free: 1.949 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.01495, allocations: 84.66 kB / 0.6496 GB, free: 1.859 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.01502, allocations: 74.16 kB / 0.6497 GB, free: 1.781 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01516, allocations: 149.3 kB / 0.6498 GB, free: 1.625 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01517, allocations: 4 kB / 0.6498 GB, free: 1.621 MB / 0.6043 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002054/0.01537, allocations: 238.3 kB / 0.6501 GB, free: 1.371 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.01541, allocations: 45.69 kB / 0.6501 GB, free: 1.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01541, allocations: 0 / 0.6501 GB, free: 1.32 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01542, allocations: 0 / 0.6501 GB, free: 1.32 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.01558, allocations: 51.89 kB / 0.6502 GB, free: 1.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01559, allocations: 3.984 kB / 0.6502 GB, free: 1.266 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01569, allocations: 39.77 kB / 0.6502 GB, free: 1.227 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.01571, allocations: 11.98 kB / 0.6502 GB, free: 1.215 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.634e-05/0.01579, allocations: 116.7 kB / 0.6503 GB, free: 1.09 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.01583, allocations: 27.91 kB / 0.6504 GB, free: 1.062 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.01603, allocations: 161.8 kB / 0.6505 GB, free: 0.9023 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01603, allocations: 0 / 0.6505 GB, free: 0.9023 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01604, allocations: 8 kB / 0.6505 GB, free: 0.8945 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01604, allocations: 3.984 kB / 0.6505 GB, free: 0.8906 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.01621, allocations: 165.7 kB / 0.6507 GB, free: 0.7109 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01621, allocations: 0 / 0.6507 GB, free: 0.7109 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.01633, allocations: 39.95 kB / 0.6507 GB, free: 0.6719 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01633, allocations: 0 / 0.6507 GB, free: 0.6719 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.01634, allocations: 11.92 kB / 0.6507 GB, free: 0.6602 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01635, allocations: 3.984 kB / 0.6507 GB, free: 0.6562 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01635, allocations: 0 / 0.6507 GB, free: 0.6562 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.01653, allocations: 266.1 kB / 0.651 GB, free: 388 kB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.01659, allocations: 51.64 kB / 0.651 GB, free: 336 kB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01662, allocations: 3.938 kB / 0.651 GB, free: 332 kB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01672, allocations: 23.97 kB / 0.6511 GB, free: 308 kB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.01676, allocations: 15.97 kB / 0.6511 GB, free: 292 kB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.01677, allocations: 8 kB / 0.6511 GB, free: 284 kB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.000105/0.01688, allocations: 160.7 kB / 0.6512 GB, free: 124 kB / 0.6043 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01688, allocations: 0 / 0.6512 GB, free: 124 kB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002536/0.01713, allocations: 127.8 kB / 0.6514 GB, free: 15.99 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.00024/0.01737, allocations: 172.1 kB / 0.6515 GB, free: 15.82 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.01764, allocations: 237.9 kB / 0.6517 GB, free: 15.56 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.01764, allocations: 4 kB / 0.6518 GB, free: 15.56 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/0.01771, allocations: 44.78 kB / 0.6518 GB, free: 15.51 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01795, allocations: 77.84 kB / 0.6519 GB, free: 15.44 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.01883, allocations: 0.6076 MB / 0.6525 GB, free: 14.8 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.352e-05/0.01889, allocations: 104.3 kB / 0.6526 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.01901, allocations: 41.92 kB / 0.6526 GB, free: 14.63 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.01917, allocations: 111.3 kB / 0.6527 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of SimCode: time 6.31e-07/0.01917, allocations: 0 / 0.6527 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of Templates: time 0.008171/0.02734, allocations: 5.934 MB / 0.6585 GB, free: 8.582 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 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.570903355721384]