Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.04278/0.04278, 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.00123/0.00123, allocations: 91.27 kB / 35.33 MB, free: 1.066 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.001212/0.001212, allocations: 163.7 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.9897/0.9897, allocations: 177.2 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.004011/0.004011, 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.625/1.625, 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.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.1e-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.EN12975SolarGain): time 0.002917/0.002948, allocations: 2.067 MB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004678/0.007626, allocations: 4.214 MB / 0.644 GB, free: 7.828 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.007769, allocations: 4 kB / 0.644 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.0086, allocations: 194.9 kB / 0.6442 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.008723, allocations: 67.36 kB / 0.6442 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.009424, allocations: 311.1 kB / 0.6445 GB, free: 7.262 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.009946, allocations: 406.7 kB / 0.6449 GB, free: 6.863 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.01005, allocations: 38.52 kB / 0.645 GB, free: 6.824 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.01025, allocations: 159.6 kB / 0.6451 GB, free: 6.668 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.01036, allocations: 95.75 kB / 0.6452 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.01039, allocations: 19.94 kB / 0.6452 GB, free: 6.555 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.01083, allocations: 307.4 kB / 0.6455 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.01093, allocations: 107.7 kB / 0.6456 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.01101, allocations: 99.69 kB / 0.6457 GB, free: 6.051 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.01152, allocations: 0.4945 MB / 0.6462 GB, free: 5.555 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01153, allocations: 0 / 0.6462 GB, free: 5.555 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01153, allocations: 0 / 0.6462 GB, free: 5.555 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.01153, allocations: 0 / 0.6462 GB, free: 5.555 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007432/0.01227, allocations: 0.6321 MB / 0.6468 GB, free: 4.891 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.01231, allocations: 15.98 kB / 0.6468 GB, free: 4.875 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.01255, allocations: 68.81 kB / 0.6469 GB, free: 4.809 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.0128, allocations: 244 kB / 0.6471 GB, free: 4.543 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.01281, allocations: 4.375 kB / 0.6471 GB, free: 4.539 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.01283, allocations: 12.38 kB / 0.6471 GB, free: 4.527 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.01304, allocations: 125.7 kB / 0.6473 GB, free: 4.395 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.01305, allocations: 4.188 kB / 0.6473 GB, free: 4.391 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.01307, allocations: 4.125 kB / 0.6473 GB, free: 4.387 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.01308, allocations: 7.938 kB / 0.6473 GB, free: 4.379 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.381e-05/0.01314, allocations: 23.98 kB / 0.6473 GB, free: 4.355 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.01358, allocations: 293.7 kB / 0.6476 GB, free: 4.051 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.01367, allocations: 85.19 kB / 0.6477 GB, free: 3.957 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.01371, allocations: 33.06 kB / 0.6477 GB, free: 3.922 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.01375, allocations: 19.92 kB / 0.6477 GB, free: 3.902 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.01377, allocations: 34.56 kB / 0.6477 GB, free: 3.859 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.01378, allocations: 4 kB / 0.6477 GB, free: 3.855 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.000212/0.01399, allocations: 101.5 kB / 0.6478 GB, free: 3.75 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.01402, allocations: 51.41 kB / 0.6479 GB, free: 3.688 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.01422, allocations: 347.4 kB / 0.6482 GB, free: 3.336 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.01424, allocations: 25.7 kB / 0.6483 GB, free: 3.305 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.0143, allocations: 141 kB / 0.6484 GB, free: 3.164 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.01434, allocations: 39.69 kB / 0.6484 GB, free: 3.125 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.01439, allocations: 45.61 kB / 0.6485 GB, free: 3.074 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01449, allocations: 350.7 kB / 0.6488 GB, free: 2.723 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.01456, allocations: 56.53 kB / 0.6489 GB, free: 2.656 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.01461, allocations: 57.62 kB / 0.6489 GB, free: 2.594 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.01473, allocations: 116.2 kB / 0.649 GB, free: 2.469 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01473, allocations: 0 / 0.649 GB, free: 2.469 MB / 0.6043 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001667/0.0149, allocations: 177 kB / 0.6492 GB, free: 2.277 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.01494, allocations: 45.62 kB / 0.6492 GB, free: 2.227 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01494, allocations: 4 kB / 0.6492 GB, free: 2.223 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01496, allocations: 0 / 0.6492 GB, free: 2.223 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.01511, allocations: 39.95 kB / 0.6493 GB, free: 2.184 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.01512, allocations: 0 / 0.6493 GB, free: 2.184 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.01519, allocations: 23.88 kB / 0.6493 GB, free: 2.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01521, allocations: 11.97 kB / 0.6493 GB, free: 2.148 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 (12): * Single equations (assignments): 11 * 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 9.04e-05/0.0153, allocations: 124.6 kB / 0.6494 GB, free: 2.016 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.01533, allocations: 19.92 kB / 0.6494 GB, free: 1.996 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.01551, allocations: 132.9 kB / 0.6496 GB, free: 1.863 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01552, allocations: 0 / 0.6496 GB, free: 1.863 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01552, allocations: 4 kB / 0.6496 GB, free: 1.859 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01552, allocations: 3.938 kB / 0.6496 GB, free: 1.855 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.0157, allocations: 153.8 kB / 0.6497 GB, free: 1.688 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.0157, allocations: 4 kB / 0.6497 GB, free: 1.684 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.0158, allocations: 27.97 kB / 0.6498 GB, free: 1.656 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.0158, allocations: 0 / 0.6498 GB, free: 1.656 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01581, allocations: 11.98 kB / 0.6498 GB, free: 1.645 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01582, allocations: 7.938 kB / 0.6498 GB, free: 1.637 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01582, allocations: 0 / 0.6498 GB, free: 1.637 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.016, allocations: 226.2 kB / 0.65 GB, free: 1.398 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.01606, allocations: 43.7 kB / 0.65 GB, free: 1.355 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.01608, allocations: 0 / 0.65 GB, free: 1.355 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.01618, allocations: 27.91 kB / 0.6501 GB, free: 1.328 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01622, allocations: 11.98 kB / 0.6501 GB, free: 1.316 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.01623, allocations: 7.984 kB / 0.6501 GB, free: 1.309 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.928e-05/0.01633, allocations: 144.7 kB / 0.6502 GB, free: 1.168 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.01633, allocations: 4 kB / 0.6502 GB, free: 1.164 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003226/0.01666, allocations: 123.8 kB / 0.6503 GB, free: 1.043 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 (11): * Single equations (assignments): 11 * 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.0002627/0.01692, allocations: 164.1 kB / 0.6505 GB, free: 0.8711 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.01713, allocations: 193.8 kB / 0.6507 GB, free: 0.6602 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.01714, allocations: 4 kB / 0.6507 GB, free: 0.6562 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.01719, allocations: 37.88 kB / 0.6507 GB, free: 0.6172 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01745, allocations: 72.81 kB / 0.6508 GB, free: 0.5508 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.01836, allocations: 0.5549 MB / 0.6513 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.01842, allocations: 107.9 kB / 0.6514 GB, free: 15.84 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 9.713e-05/0.01852, allocations: 25.94 kB / 0.6515 GB, free: 15.81 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.01867, allocations: 111.2 kB / 0.6516 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of SimCode: time 6.01e-07/0.01867, allocations: 4 kB / 0.6516 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of Templates: time 0.00764/0.02631, allocations: 5.329 MB / 0.6568 GB, free: 10.36 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.565291707403958]