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.04321/0.04321, allocations: 9.128 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.0009622/0.0009622, allocations: 90.72 kB / 35.33 MB, free: 1.07 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.001024/0.001024, allocations: 163.6 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.9705/0.9705, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004103/0.004103, allocations: 0.826 MB / 276.5 MB, free: 0.7383 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.698/1.698, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 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.663e-06/1.663e-06, allocations: 0 / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.368e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002722/0.002745, allocations: 1.934 MB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.003912/0.006657, allocations: 3.748 MB / 0.6434 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.006732, allocations: 7.938 kB / 0.6434 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.007359, allocations: 179.1 kB / 0.6436 GB, free: 8.219 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.007496, allocations: 83.39 kB / 0.6436 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 7.489e-05/0.007571, allocations: 51.91 kB / 0.6437 GB, free: 8.086 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.007928, allocations: 294.9 kB / 0.644 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.008003, allocations: 18.45 kB / 0.644 GB, free: 7.777 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.008132, allocations: 103.7 kB / 0.6441 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.008225, allocations: 67.8 kB / 0.6442 GB, free: 7.609 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.008242, allocations: 8 kB / 0.6442 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.008307, allocations: 27.92 kB / 0.6442 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.008364, allocations: 55.84 kB / 0.6442 GB, free: 7.52 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.008414, allocations: 55.84 kB / 0.6443 GB, free: 7.465 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.00858, allocations: 163.2 kB / 0.6445 GB, free: 7.305 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.008582, allocations: 4 kB / 0.6445 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.21e-07/0.008583, allocations: 0 / 0.6445 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.008587, allocations: 0 / 0.6445 GB, free: 7.301 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.0004837/0.009071, allocations: 431 kB / 0.6449 GB, free: 6.855 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.009103, allocations: 11.98 kB / 0.6449 GB, free: 6.844 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.009285, allocations: 52.86 kB / 0.6449 GB, free: 6.793 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.009454, allocations: 201.9 kB / 0.6451 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.009463, allocations: 384 / 0.6451 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.009478, allocations: 12.36 kB / 0.6451 GB, free: 6.562 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.009625, allocations: 105.5 kB / 0.6452 GB, free: 6.449 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.009632, allocations: 192 / 0.6452 GB, free: 6.449 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.009644, allocations: 8.125 kB / 0.6452 GB, free: 6.441 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.009669, allocations: 8 kB / 0.6453 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.38e-05/0.009723, allocations: 23.98 kB / 0.6453 GB, free: 6.41 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.01022, allocations: 241.8 kB / 0.6455 GB, free: 6.156 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.01032, allocations: 82.48 kB / 0.6456 GB, free: 6.066 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.01036, allocations: 28.84 kB / 0.6456 GB, free: 6.035 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.01037, allocations: 8 kB / 0.6456 GB, free: 6.027 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.0104, allocations: 38.48 kB / 0.6457 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.0104, allocations: 0 / 0.6457 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.000164/0.01056, allocations: 93.59 kB / 0.6457 GB, free: 5.883 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.01059, allocations: 55.41 kB / 0.6458 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.01071, allocations: 235 kB / 0.646 GB, free: 5.57 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01073, allocations: 29.7 kB / 0.6461 GB, free: 5.535 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.01077, allocations: 120.6 kB / 0.6462 GB, free: 5.414 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.0108, allocations: 39.64 kB / 0.6462 GB, free: 5.375 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.01085, allocations: 29.69 kB / 0.6462 GB, free: 5.34 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.01093, allocations: 330.8 kB / 0.6465 GB, free: 5.008 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.01095, allocations: 15.98 kB / 0.6466 GB, free: 4.992 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.01098, allocations: 8 kB / 0.6466 GB, free: 4.984 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.546e-05/0.01104, allocations: 55.88 kB / 0.6466 GB, free: 4.926 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01105, allocations: 3.938 kB / 0.6466 GB, free: 4.922 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.445e-05/0.01114, allocations: 93.53 kB / 0.6467 GB, free: 4.824 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01115, allocations: 8 kB / 0.6467 GB, free: 4.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.01116, allocations: 0 / 0.6467 GB, free: 4.816 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.01117, allocations: 0 / 0.6467 GB, free: 4.816 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01127, allocations: 27.97 kB / 0.6468 GB, free: 4.789 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01128, allocations: 3.984 kB / 0.6468 GB, free: 4.785 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.01133, allocations: 12 kB / 0.6468 GB, free: 4.773 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.01134, allocations: 3.984 kB / 0.6468 GB, free: 4.77 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.259e-05/0.01141, allocations: 128.5 kB / 0.6469 GB, free: 4.633 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.01143, allocations: 15.92 kB / 0.6469 GB, free: 4.617 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.01147, allocations: 33.8 kB / 0.6469 GB, free: 4.582 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01147, allocations: 0 / 0.6469 GB, free: 4.582 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01147, allocations: 4 kB / 0.6469 GB, free: 4.578 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01148, allocations: 4 kB / 0.6469 GB, free: 4.574 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.0116, allocations: 117.8 kB / 0.6471 GB, free: 4.441 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.0116, allocations: 0 / 0.6471 GB, free: 4.441 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.0118, allocations: 31.97 kB / 0.6471 GB, free: 4.41 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.0118, allocations: 4 kB / 0.6471 GB, free: 4.406 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01182, allocations: 4 kB / 0.6471 GB, free: 4.402 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01182, allocations: 3.938 kB / 0.6471 GB, free: 4.398 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01182, allocations: 0 / 0.6471 GB, free: 4.398 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.01209, allocations: 192.3 kB / 0.6473 GB, free: 4.195 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.01216, allocations: 23.84 kB / 0.6473 GB, free: 4.172 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.0122, allocations: 8 kB / 0.6473 GB, free: 4.164 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.01234, allocations: 7.938 kB / 0.6473 GB, free: 4.156 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.0124, allocations: 15.97 kB / 0.6473 GB, free: 4.141 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01241, allocations: 0 / 0.6473 GB, free: 4.141 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001084/0.01252, allocations: 88.62 kB / 0.6474 GB, free: 4.051 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01252, allocations: 4 kB / 0.6474 GB, free: 4.047 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001797/0.0127, allocations: 43.94 kB / 0.6475 GB, free: 4.004 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 9.854e-05/0.0128, allocations: 80.41 kB / 0.6475 GB, free: 3.918 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.0129, allocations: 56.91 kB / 0.6476 GB, free: 3.859 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.0129, allocations: 4 kB / 0.6476 GB, free: 3.855 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.01295, allocations: 36.77 kB / 0.6476 GB, free: 3.816 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.01316, allocations: 68.81 kB / 0.6477 GB, free: 3.746 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.01381, allocations: 420.4 kB / 0.6481 GB, free: 3.305 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.01387, allocations: 83.81 kB / 0.6482 GB, free: 3.199 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.085e-05/0.01393, allocations: 17.48 kB / 0.6482 GB, free: 3.184 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.01404, allocations: 95.34 kB / 0.6483 GB, free: 3.09 MB / 0.6043 GB Notification: Performance of SimCode: time 4.91e-07/0.01404, allocations: 0 / 0.6483 GB, free: 3.09 MB / 0.6043 GB Notification: Performance of Templates: time 0.004259/0.0183, allocations: 2.759 MB / 0.651 GB, free: 348 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 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.482888994272798]