Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.04826/0.04826, 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.001469/0.001469, allocations: 90.72 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.001279/0.001279, allocations: 163.6 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 1.062/1.062, 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.006929/0.006929, allocations: 0.8221 MB / 276.5 MB, free: 0.7148 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.745/1.745, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.624e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002821/0.002847, allocations: 1.907 MB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004167/0.007014, allocations: 3.701 MB / 0.6433 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.007206, allocations: 7.938 kB / 0.6433 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.008064, allocations: 167.2 kB / 0.6435 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.008285, allocations: 83.41 kB / 0.6436 GB, free: 8.254 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.008428, allocations: 51.86 kB / 0.6436 GB, free: 8.203 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0006944/0.009123, allocations: 279 kB / 0.6439 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.009223, allocations: 18.45 kB / 0.6439 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.009396, allocations: 103.6 kB / 0.644 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.009501, allocations: 59.86 kB / 0.6441 GB, free: 7.75 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.00952, allocations: 8 kB / 0.6441 GB, free: 7.742 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.009608, allocations: 27.92 kB / 0.6441 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.009672, allocations: 59.83 kB / 0.6441 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.009725, allocations: 51.86 kB / 0.6442 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.009927, allocations: 159.3 kB / 0.6443 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.009931, allocations: 0 / 0.6443 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.783e-06/0.009933, allocations: 0 / 0.6443 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.009938, allocations: 4 kB / 0.6443 GB, free: 7.445 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.0004952/0.01043, allocations: 419.1 kB / 0.6447 GB, free: 7.012 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.01047, allocations: 11.98 kB / 0.6448 GB, free: 7 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.01066, allocations: 52.88 kB / 0.6448 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.01085, allocations: 184.8 kB / 0.645 GB, free: 6.742 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.01086, allocations: 12.25 kB / 0.645 GB, free: 6.73 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.01087, allocations: 8.375 kB / 0.645 GB, free: 6.723 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.01104, allocations: 101.7 kB / 0.6451 GB, free: 6.613 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.01105, allocations: 192 / 0.6451 GB, free: 6.613 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.01106, allocations: 4.125 kB / 0.6451 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.01109, allocations: 15.91 kB / 0.6451 GB, free: 6.594 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.01114, allocations: 19.98 kB / 0.6451 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.01147, allocations: 241.8 kB / 0.6454 GB, free: 6.32 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.01157, allocations: 74.55 kB / 0.6454 GB, free: 6.238 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.01161, allocations: 32.83 kB / 0.6455 GB, free: 6.203 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.01163, allocations: 4 kB / 0.6455 GB, free: 6.199 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.01165, allocations: 38.5 kB / 0.6455 GB, free: 6.152 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.01165, allocations: 0 / 0.6455 GB, free: 6.152 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.0001958/0.01185, allocations: 101.8 kB / 0.6456 GB, free: 6.047 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.01189, allocations: 55.41 kB / 0.6457 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.01202, allocations: 217 kB / 0.6459 GB, free: 5.754 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.01204, allocations: 37.69 kB / 0.6459 GB, free: 5.711 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.01209, allocations: 108.5 kB / 0.646 GB, free: 5.602 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.01212, allocations: 47.62 kB / 0.6461 GB, free: 5.555 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.01217, allocations: 29.69 kB / 0.6461 GB, free: 5.52 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01228, allocations: 334.8 kB / 0.6464 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.01231, allocations: 8 kB / 0.6464 GB, free: 5.176 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.01234, allocations: 19.98 kB / 0.6464 GB, free: 5.156 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.607e-05/0.0124, allocations: 43.66 kB / 0.6465 GB, free: 5.109 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01241, allocations: 0 / 0.6465 GB, free: 5.109 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001237/0.01253, allocations: 90.28 kB / 0.6466 GB, free: 5.016 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01254, allocations: 4 kB / 0.6466 GB, free: 5.012 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01255, allocations: 0 / 0.6466 GB, free: 5.012 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01256, allocations: 0 / 0.6466 GB, free: 5.012 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01267, allocations: 35.95 kB / 0.6466 GB, free: 4.977 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01267, allocations: 7.984 kB / 0.6466 GB, free: 4.969 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.01273, allocations: 23.88 kB / 0.6466 GB, free: 4.945 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.01274, allocations: 4 kB / 0.6466 GB, free: 4.941 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.592e-05/0.01281, allocations: 116.6 kB / 0.6467 GB, free: 4.816 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01284, allocations: 19.92 kB / 0.6468 GB, free: 4.797 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.01287, allocations: 25.77 kB / 0.6468 GB, free: 4.773 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01288, allocations: 4 kB / 0.6468 GB, free: 4.77 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01288, allocations: 0 / 0.6468 GB, free: 4.77 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.01288, allocations: 3.984 kB / 0.6468 GB, free: 4.766 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.01302, allocations: 121.8 kB / 0.6469 GB, free: 4.629 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01302, allocations: 0 / 0.6469 GB, free: 4.629 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.01309, allocations: 35.97 kB / 0.6469 GB, free: 4.594 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01309, allocations: 0 / 0.6469 GB, free: 4.594 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.0131, allocations: 4 kB / 0.6469 GB, free: 4.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01311, allocations: 3.938 kB / 0.647 GB, free: 4.586 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01311, allocations: 0 / 0.647 GB, free: 4.586 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.01326, allocations: 187.6 kB / 0.6471 GB, free: 4.387 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.0133, allocations: 23.84 kB / 0.6472 GB, free: 4.363 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01332, allocations: 4 kB / 0.6472 GB, free: 4.359 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.01338, allocations: 7.938 kB / 0.6472 GB, free: 4.352 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.01343, allocations: 19.97 kB / 0.6472 GB, free: 4.332 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.01343, allocations: 4 kB / 0.6472 GB, free: 4.328 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.285e-05/0.0135, allocations: 82.75 kB / 0.6473 GB, free: 4.246 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.0135, allocations: 0 / 0.6473 GB, free: 4.246 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001722/0.01367, allocations: 43.89 kB / 0.6473 GB, free: 4.203 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.0001377/0.01381, allocations: 80.42 kB / 0.6474 GB, free: 4.117 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.01392, allocations: 52.77 kB / 0.6474 GB, free: 4.062 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.01393, allocations: 4 kB / 0.6474 GB, free: 4.059 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.01397, allocations: 44.77 kB / 0.6475 GB, free: 4.012 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.0142, allocations: 48.41 kB / 0.6475 GB, free: 3.965 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.01493, allocations: 404.5 kB / 0.6479 GB, free: 3.539 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.468e-05/0.01499, allocations: 87.77 kB / 0.648 GB, free: 3.434 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.01507, allocations: 29.47 kB / 0.648 GB, free: 3.402 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.01519, allocations: 83.34 kB / 0.6481 GB, free: 3.32 MB / 0.6043 GB Notification: Performance of SimCode: time 9.92e-07/0.01519, allocations: 0 / 0.6481 GB, free: 3.32 MB / 0.6043 GB Notification: Performance of Templates: time 0.004527/0.01971, allocations: 2.484 MB / 0.6505 GB, free: 0.8398 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.783546375110745]