Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.05757/0.05757, allocations: 9.129 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.001427/0.001427, allocations: 95.14 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.001255/0.001255, allocations: 163.7 kB / 38.73 MB, free: 2.5 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.008/1.008, allocations: 177.2 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.004303/0.004303, allocations: 0.8374 MB / 276.5 MB, free: 0.7305 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.717/1.717, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.039e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003912/0.003943, allocations: 2.121 MB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.006295, allocations: 1.071 MB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.006436, allocations: 7.938 kB / 0.641 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.006503, allocations: 31.66 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.006929, allocations: 83.17 kB / 0.6411 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.0075, allocations: 203.4 kB / 0.6413 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.007938, allocations: 298.6 kB / 0.6416 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.008117, allocations: 42.88 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.008366, allocations: 155.7 kB / 0.6418 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.008602, allocations: 115.6 kB / 0.6419 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.008653, allocations: 20 kB / 0.6419 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.009095, allocations: 275.6 kB / 0.6422 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.009155, allocations: 51.81 kB / 0.6422 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.239e-05/0.009247, allocations: 75.77 kB / 0.6423 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.009694, allocations: 306.8 kB / 0.6426 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.009697, allocations: 0 / 0.6426 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.52e-07/0.009698, allocations: 0 / 0.6426 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.009704, allocations: 0 / 0.6426 GB, free: 9.262 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00085/0.01055, allocations: 0.5149 MB / 0.6431 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.01061, allocations: 15.98 kB / 0.6431 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.01087, allocations: 36.91 kB / 0.6431 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.01119, allocations: 212.7 kB / 0.6433 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.01121, allocations: 8.656 kB / 0.6433 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.01124, allocations: 20.38 kB / 0.6434 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.01157, allocations: 185.8 kB / 0.6435 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.01159, allocations: 4.188 kB / 0.6435 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.0116, allocations: 4.375 kB / 0.6435 GB, free: 8.191 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.01162, allocations: 7.938 kB / 0.6435 GB, free: 8.184 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.01173, allocations: 47.84 kB / 0.6436 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.01259, allocations: 0.7077 MB / 0.6443 GB, free: 7.395 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.01297, allocations: 141.2 kB / 0.6444 GB, free: 7.238 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.01303, allocations: 29.72 kB / 0.6444 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.01305, allocations: 0 / 0.6444 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.01308, allocations: 38.56 kB / 0.6445 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.01308, allocations: 0 / 0.6445 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16): time 0.0003389/0.01342, allocations: 121.7 kB / 0.6446 GB, free: 7.031 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.01347, allocations: 77.11 kB / 0.6447 GB, free: 6.938 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.01368, allocations: 254.8 kB / 0.6449 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.0137, allocations: 29.7 kB / 0.6449 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01381, allocations: 140.8 kB / 0.6451 GB, free: 6.504 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.01385, allocations: 59.41 kB / 0.6451 GB, free: 6.445 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.01392, allocations: 41.69 kB / 0.6452 GB, free: 6.398 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.01405, allocations: 334.8 kB / 0.6455 GB, free: 6.062 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.0141, allocations: 19.98 kB / 0.6455 GB, free: 6.043 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.01418, allocations: 65.98 kB / 0.6456 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.01433, allocations: 109.8 kB / 0.6457 GB, free: 5.828 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.01434, allocations: 4 kB / 0.6457 GB, free: 5.824 MB / 0.6043 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002801/0.01462, allocations: 117.6 kB / 0.6458 GB, free: 5.703 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.01464, allocations: 15.97 kB / 0.6458 GB, free: 5.688 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01464, allocations: 0 / 0.6458 GB, free: 5.688 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01466, allocations: 4 kB / 0.6458 GB, free: 5.684 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01485, allocations: 51.95 kB / 0.6459 GB, free: 5.633 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.01486, allocations: 7.938 kB / 0.6459 GB, free: 5.625 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01498, allocations: 27.81 kB / 0.6459 GB, free: 5.598 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.01499, allocations: 8 kB / 0.6459 GB, free: 5.59 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 9.71e-05/0.01509, allocations: 113.8 kB / 0.646 GB, free: 5.469 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.0152, allocations: 23.98 kB / 0.646 GB, free: 5.445 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.01546, allocations: 139.2 kB / 0.6462 GB, free: 5.297 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01547, allocations: 4 kB / 0.6462 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01547, allocations: 0 / 0.6462 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.01547, allocations: 3.938 kB / 0.6462 GB, free: 5.289 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.01574, allocations: 141.7 kB / 0.6463 GB, free: 5.133 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01575, allocations: 0 / 0.6463 GB, free: 5.133 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.01591, allocations: 47.97 kB / 0.6464 GB, free: 5.086 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.01591, allocations: 4 kB / 0.6464 GB, free: 5.082 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01592, allocations: 7.922 kB / 0.6464 GB, free: 5.074 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.01593, allocations: 4 kB / 0.6464 GB, free: 5.07 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01593, allocations: 0 / 0.6464 GB, free: 5.07 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.01625, allocations: 282.4 kB / 0.6466 GB, free: 4.781 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.0163, allocations: 31.73 kB / 0.6467 GB, free: 4.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.01633, allocations: 8 kB / 0.6467 GB, free: 4.742 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.0165, allocations: 15.98 kB / 0.6467 GB, free: 4.727 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.01656, allocations: 19.91 kB / 0.6467 GB, free: 4.707 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01657, allocations: 4 kB / 0.6467 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001009/0.01667, allocations: 92.64 kB / 0.6468 GB, free: 4.609 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1e-07/0.01667, allocations: 0 / 0.6468 GB, free: 4.609 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000347/0.01702, allocations: 71.75 kB / 0.6469 GB, free: 4.539 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.000189/0.01721, allocations: 92.36 kB / 0.647 GB, free: 4.441 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.01741, allocations: 84.67 kB / 0.647 GB, free: 4.355 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.01742, allocations: 4 kB / 0.6471 GB, free: 4.352 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.01751, allocations: 52.72 kB / 0.6471 GB, free: 4.297 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.018, allocations: 74.88 kB / 0.6472 GB, free: 4.223 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.01897, allocations: 439.6 kB / 0.6476 GB, free: 3.766 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.553e-05/0.01904, allocations: 80.33 kB / 0.6477 GB, free: 3.668 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.000118/0.01916, allocations: 34.28 kB / 0.6477 GB, free: 3.633 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.01938, allocations: 117.3 kB / 0.6478 GB, free: 3.52 MB / 0.6043 GB Notification: Performance of SimCode: time 1.383e-06/0.01939, allocations: 0 / 0.6478 GB, free: 3.52 MB / 0.6043 GB Notification: Performance of Templates: time 0.006575/0.02596, allocations: 4.412 MB / 0.6521 GB, free: 15.09 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.792398949153721]