Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.04352/0.04352, allocations: 9.126 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.0008685/0.0008685, allocations: 87.28 kB / 35.32 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.001061/0.001061, allocations: 164.1 kB / 38.73 MB, free: 2.508 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.9552/0.9552, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.004004/0.004004, allocations: 0.8223 MB / 276.5 MB, free: 0.7227 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.636/1.636, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.342e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002449/0.002472, allocations: 1.977 MB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00373/0.006202, allocations: 3.748 MB / 0.6435 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.006316, allocations: 0 / 0.6435 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000758/0.007074, allocations: 183.1 kB / 0.6436 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.007257, allocations: 83.41 kB / 0.6437 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.007384, allocations: 55.84 kB / 0.6438 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.007809, allocations: 286.9 kB / 0.6441 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.334e-05/0.007902, allocations: 18.45 kB / 0.6441 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.008037, allocations: 111.6 kB / 0.6442 GB, free: 7.598 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.00813, allocations: 63.8 kB / 0.6442 GB, free: 7.535 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.008147, allocations: 8 kB / 0.6442 GB, free: 7.527 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.008231, allocations: 27.98 kB / 0.6443 GB, free: 7.5 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.008281, allocations: 55.78 kB / 0.6443 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.008326, allocations: 51.84 kB / 0.6444 GB, free: 7.395 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.00851, allocations: 171.2 kB / 0.6445 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.008512, allocations: 0 / 0.6445 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.72e-07/0.008512, allocations: 4 kB / 0.6445 GB, free: 7.223 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.008516, allocations: 0 / 0.6445 GB, free: 7.223 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004905/0.009007, allocations: 427.1 kB / 0.645 GB, free: 6.781 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.009041, allocations: 15.97 kB / 0.645 GB, free: 6.766 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.009228, allocations: 52.88 kB / 0.645 GB, free: 6.715 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.009418, allocations: 193.9 kB / 0.6452 GB, free: 6.504 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.009428, allocations: 8.312 kB / 0.6452 GB, free: 6.496 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.00944, allocations: 4.375 kB / 0.6452 GB, free: 6.492 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.009614, allocations: 117.4 kB / 0.6453 GB, free: 6.367 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.009621, allocations: 4.172 kB / 0.6453 GB, free: 6.363 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.009632, allocations: 4.125 kB / 0.6453 GB, free: 6.359 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.00966, allocations: 12 kB / 0.6453 GB, free: 6.348 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.009714, allocations: 19.98 kB / 0.6454 GB, free: 6.328 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.01005, allocations: 249.8 kB / 0.6456 GB, free: 6.066 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.01014, allocations: 70.48 kB / 0.6457 GB, free: 5.988 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.01019, allocations: 44.81 kB / 0.6457 GB, free: 5.941 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.0102, allocations: 4 kB / 0.6457 GB, free: 5.938 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01023, allocations: 38.5 kB / 0.6458 GB, free: 5.891 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.01023, allocations: 0 / 0.6458 GB, free: 5.891 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.0001751/0.0104, allocations: 93.59 kB / 0.6458 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.01043, allocations: 55.41 kB / 0.6459 GB, free: 5.727 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.01055, allocations: 231 kB / 0.6461 GB, free: 5.484 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.01057, allocations: 29.7 kB / 0.6461 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.01061, allocations: 120.6 kB / 0.6463 GB, free: 5.328 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.01064, allocations: 47.62 kB / 0.6463 GB, free: 5.281 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.01068, allocations: 25.7 kB / 0.6463 GB, free: 5.25 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.01077, allocations: 334.8 kB / 0.6466 GB, free: 4.914 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.0108, allocations: 8 kB / 0.6467 GB, free: 4.906 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.01083, allocations: 20.23 kB / 0.6467 GB, free: 4.887 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.01089, allocations: 47.64 kB / 0.6467 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0109, allocations: 4 kB / 0.6467 GB, free: 4.832 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001015/0.011, allocations: 89.53 kB / 0.6468 GB, free: 4.738 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01101, allocations: 4 kB / 0.6468 GB, free: 4.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01102, allocations: 0 / 0.6468 GB, free: 4.734 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.01103, allocations: 0 / 0.6468 GB, free: 4.734 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01114, allocations: 31.97 kB / 0.6468 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.01114, allocations: 0 / 0.6468 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.01119, allocations: 7.984 kB / 0.6469 GB, free: 4.695 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.0112, allocations: 4 kB / 0.6469 GB, free: 4.691 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 (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 prepare postOptimizeDAE: time 7.061e-05/0.01127, allocations: 120.6 kB / 0.647 GB, free: 4.562 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.0113, allocations: 27.91 kB / 0.647 GB, free: 4.535 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.01134, allocations: 25.81 kB / 0.647 GB, free: 4.508 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01134, allocations: 0 / 0.647 GB, free: 4.508 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01134, allocations: 7.984 kB / 0.647 GB, free: 4.5 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01135, allocations: 0 / 0.647 GB, free: 4.5 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01148, allocations: 125.7 kB / 0.6471 GB, free: 4.359 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01148, allocations: 3.984 kB / 0.6472 GB, free: 4.355 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.01156, allocations: 31.97 kB / 0.6472 GB, free: 4.324 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.01156, allocations: 4 kB / 0.6472 GB, free: 4.32 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.01157, allocations: 4 kB / 0.6472 GB, free: 4.316 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01158, allocations: 7.875 kB / 0.6472 GB, free: 4.309 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01158, allocations: 4 kB / 0.6472 GB, free: 4.305 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.01172, allocations: 184.3 kB / 0.6474 GB, free: 4.109 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.01176, allocations: 31.84 kB / 0.6474 GB, free: 4.078 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.01178, allocations: 0 / 0.6474 GB, free: 4.078 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.01185, allocations: 11.94 kB / 0.6474 GB, free: 4.066 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.01189, allocations: 15.97 kB / 0.6474 GB, free: 4.051 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01189, allocations: 0 / 0.6474 GB, free: 4.051 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.01195, allocations: 92.62 kB / 0.6475 GB, free: 3.957 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.01195, allocations: 0 / 0.6475 GB, free: 3.957 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001508/0.0121, allocations: 43.94 kB / 0.6476 GB, free: 3.914 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 (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.0001048/0.01221, allocations: 76.42 kB / 0.6476 GB, free: 3.832 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.01231, allocations: 56.89 kB / 0.6477 GB, free: 3.773 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01232, allocations: 4 kB / 0.6477 GB, free: 3.77 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.01236, allocations: 44.77 kB / 0.6477 GB, free: 3.723 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01259, allocations: 56.88 kB / 0.6478 GB, free: 3.664 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.01336, allocations: 428.4 kB / 0.6482 GB, free: 3.215 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01341, allocations: 83.81 kB / 0.6483 GB, free: 3.109 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.17e-05/0.01348, allocations: 17.5 kB / 0.6483 GB, free: 3.094 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.01361, allocations: 95.33 kB / 0.6484 GB, free: 3 MB / 0.6043 GB Notification: Performance of SimCode: time 1.503e-06/0.01361, allocations: 0 / 0.6484 GB, free: 3 MB / 0.6043 GB Notification: Performance of Templates: time 0.004058/0.01767, allocations: 2.756 MB / 0.6511 GB, free: 256 kB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.410001726821065]