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.04482/0.04482, allocations: 9.13 MB / 28.99 MB, free: 0.8203 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.0009494/0.0009494, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001815/0.001815, allocations: 165.1 kB / 38.73 MB, free: 2.492 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.9767/0.9767, allocations: 177.2 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.005034/0.005034, allocations: 0.8255 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.763/1.763, allocations: 274.9 MB / 0.5419 GB, free: 0.5898 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 1.423e-06/1.423e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.097e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002584/0.002605, allocations: 2.121 MB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004145/0.006749, allocations: 4.207 MB / 0.6441 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.006875, allocations: 7.938 kB / 0.6441 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000764/0.007639, allocations: 187 kB / 0.6443 GB, free: 7.496 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.007773, allocations: 75.34 kB / 0.6443 GB, free: 7.422 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.008408, allocations: 283.1 kB / 0.6446 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.008941, allocations: 406.6 kB / 0.645 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.009048, allocations: 42.5 kB / 0.645 GB, free: 6.703 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.009252, allocations: 159.6 kB / 0.6452 GB, free: 6.547 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.009372, allocations: 99.7 kB / 0.6453 GB, free: 6.449 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.009398, allocations: 16 kB / 0.6453 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.0099, allocations: 347.3 kB / 0.6456 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.842e-05/0.009998, allocations: 103.7 kB / 0.6457 GB, free: 5.992 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.01008, allocations: 87.77 kB / 0.6458 GB, free: 5.906 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.01066, allocations: 0.4984 MB / 0.6463 GB, free: 5.406 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01067, allocations: 0 / 0.6463 GB, free: 5.406 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01067, allocations: 0 / 0.6463 GB, free: 5.406 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.01067, allocations: 0 / 0.6463 GB, free: 5.406 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.0007601/0.01143, allocations: 0.636 MB / 0.6469 GB, free: 4.738 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.01147, allocations: 15.98 kB / 0.6469 GB, free: 4.723 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.01173, allocations: 64.86 kB / 0.647 GB, free: 4.66 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.01198, allocations: 240 kB / 0.6472 GB, free: 4.398 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.01199, allocations: 8.375 kB / 0.6472 GB, free: 4.391 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.012, allocations: 8.375 kB / 0.6472 GB, free: 4.383 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.01223, allocations: 125.7 kB / 0.6474 GB, free: 4.25 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.01224, allocations: 192 / 0.6474 GB, free: 4.25 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.01225, allocations: 8.125 kB / 0.6474 GB, free: 4.242 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01226, allocations: 4 kB / 0.6474 GB, free: 4.238 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.01233, allocations: 31.91 kB / 0.6474 GB, free: 4.207 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.01277, allocations: 297.6 kB / 0.6477 GB, free: 3.898 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.01285, allocations: 85.23 kB / 0.6478 GB, free: 3.805 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.01289, allocations: 28.8 kB / 0.6478 GB, free: 3.773 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.01293, allocations: 15.98 kB / 0.6478 GB, free: 3.758 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.01295, allocations: 38.56 kB / 0.6478 GB, free: 3.711 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.01296, allocations: 0 / 0.6478 GB, free: 3.711 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.000216/0.01317, allocations: 101.6 kB / 0.6479 GB, free: 3.605 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.0132, allocations: 51.41 kB / 0.648 GB, free: 3.543 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.0134, allocations: 347.4 kB / 0.6483 GB, free: 3.191 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01342, allocations: 25.7 kB / 0.6483 GB, free: 3.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.01348, allocations: 137.2 kB / 0.6485 GB, free: 3.023 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.01351, allocations: 35.67 kB / 0.6485 GB, free: 2.988 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.01356, allocations: 49.56 kB / 0.6486 GB, free: 2.934 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.01366, allocations: 350.7 kB / 0.6489 GB, free: 2.578 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.01372, allocations: 60.45 kB / 0.6489 GB, free: 2.512 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.01378, allocations: 61.62 kB / 0.649 GB, free: 2.445 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.01389, allocations: 116.3 kB / 0.6491 GB, free: 2.32 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01389, allocations: 0 / 0.6491 GB, free: 2.32 MB / 0.6043 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001697/0.01406, allocations: 181 kB / 0.6493 GB, free: 2.125 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.01409, allocations: 41.62 kB / 0.6493 GB, free: 2.078 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.0141, allocations: 0 / 0.6493 GB, free: 2.078 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.01411, allocations: 0 / 0.6493 GB, free: 2.078 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01425, allocations: 43.89 kB / 0.6494 GB, free: 2.035 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.01425, allocations: 4 kB / 0.6494 GB, free: 2.031 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.01434, allocations: 31.81 kB / 0.6494 GB, free: 2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01435, allocations: 0 / 0.6494 GB, free: 2 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 7.655e-05/0.01442, allocations: 120.7 kB / 0.6495 GB, free: 1.871 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.01446, allocations: 27.92 kB / 0.6495 GB, free: 1.844 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.01464, allocations: 128.8 kB / 0.6497 GB, free: 1.715 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01464, allocations: 4 kB / 0.6497 GB, free: 1.711 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01464, allocations: 0 / 0.6497 GB, free: 1.711 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01464, allocations: 0 / 0.6497 GB, free: 1.711 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01482, allocations: 157.8 kB / 0.6498 GB, free: 1.539 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01482, allocations: 0 / 0.6498 GB, free: 1.539 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.01493, allocations: 35.95 kB / 0.6499 GB, free: 1.504 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01494, allocations: 0 / 0.6499 GB, free: 1.504 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01495, allocations: 4 kB / 0.6499 GB, free: 1.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01495, allocations: 3.938 kB / 0.6499 GB, free: 1.496 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01495, allocations: 4 kB / 0.6499 GB, free: 1.492 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.01514, allocations: 234.1 kB / 0.6501 GB, free: 1.246 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.01519, allocations: 43.7 kB / 0.6501 GB, free: 1.203 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01522, allocations: 0 / 0.6501 GB, free: 1.203 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.01531, allocations: 27.86 kB / 0.6502 GB, free: 1.176 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.01536, allocations: 15.97 kB / 0.6502 GB, free: 1.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01536, allocations: 4 kB / 0.6502 GB, free: 1.156 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001022/0.01547, allocations: 144.7 kB / 0.6503 GB, free: 1.016 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01547, allocations: 0 / 0.6503 GB, free: 1.016 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003063/0.01577, allocations: 115.8 kB / 0.6504 GB, free: 0.9023 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.0002616/0.01603, allocations: 176.1 kB / 0.6506 GB, free: 0.7188 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.01626, allocations: 185.8 kB / 0.6508 GB, free: 0.5156 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.01627, allocations: 8 kB / 0.6508 GB, free: 0.5078 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.01632, allocations: 33.94 kB / 0.6508 GB, free: 484 kB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.0166, allocations: 72.92 kB / 0.6509 GB, free: 416 kB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/0.01747, allocations: 0.5666 MB / 0.6514 GB, free: 15.8 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.01753, allocations: 95.95 kB / 0.6515 GB, free: 15.69 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.01763, allocations: 37.92 kB / 0.6516 GB, free: 15.65 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.01779, allocations: 111.3 kB / 0.6517 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of SimCode: time 7.31e-07/0.01779, allocations: 0 / 0.6517 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of Templates: time 0.008525/0.02632, allocations: 5.314 MB / 0.6569 GB, free: 10.22 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.598590109031647]