Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.04246/0.04246, allocations: 9.13 MB / 28.99 MB, free: 344 kB / 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.0009587/0.0009587, allocations: 91.27 kB / 35.32 MB, free: 0.9414 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.001249/0.001249, allocations: 163.5 kB / 38.73 MB, free: 2.406 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.006/1.006, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004301/0.004301, allocations: 0.8187 MB / 276.5 MB, free: 0.7578 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.733/1.733, 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.802e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007749/0.007777, allocations: 4.697 MB / 0.6425 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.00923, allocations: 0.8488 MB / 0.6433 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.009325, allocations: 0 / 0.6433 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.00956, allocations: 27.77 kB / 0.6433 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.009661, allocations: 39.66 kB / 0.6433 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007703/0.01043, allocations: 175.3 kB / 0.6435 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.01069, allocations: 187.3 kB / 0.6437 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.01079, allocations: 21.95 kB / 0.6437 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.01109, allocations: 111.7 kB / 0.6438 GB, free: 7.996 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.0112, allocations: 59.84 kB / 0.6439 GB, free: 7.938 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.01123, allocations: 12 kB / 0.6439 GB, free: 7.926 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.01157, allocations: 147.7 kB / 0.644 GB, free: 7.781 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.01161, allocations: 35.83 kB / 0.6441 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.01167, allocations: 55.83 kB / 0.6441 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.01202, allocations: 207.4 kB / 0.6443 GB, free: 7.488 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.01203, allocations: 3.984 kB / 0.6443 GB, free: 7.484 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.753e-06/0.01203, allocations: 0 / 0.6443 GB, free: 7.484 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.01204, allocations: 4 kB / 0.6443 GB, free: 7.48 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.0006008/0.01264, allocations: 372.1 kB / 0.6447 GB, free: 7.094 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.01267, allocations: 11.98 kB / 0.6447 GB, free: 7.082 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.0127, allocations: 12.92 kB / 0.6447 GB, free: 7.07 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.01279, allocations: 129.6 kB / 0.6448 GB, free: 6.918 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.0128, allocations: 4.375 kB / 0.6448 GB, free: 6.914 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.01282, allocations: 12.38 kB / 0.6448 GB, free: 6.902 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.01297, allocations: 105.5 kB / 0.6449 GB, free: 6.789 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.01297, allocations: 192 / 0.6449 GB, free: 6.789 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.01298, allocations: 16.12 kB / 0.645 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.01299, allocations: 0 / 0.645 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.01306, allocations: 39.91 kB / 0.645 GB, free: 6.734 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.01351, allocations: 281.7 kB / 0.6453 GB, free: 6.441 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.0136, allocations: 74.53 kB / 0.6453 GB, free: 6.359 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.01363, allocations: 16.86 kB / 0.6453 GB, free: 6.34 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.01417, allocations: 438.5 kB / 0.6458 GB, free: 5.898 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.01419, allocations: 34.56 kB / 0.6458 GB, free: 5.855 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.0142, allocations: 0 / 0.6458 GB, free: 5.855 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12): time 0.0001921/0.01439, allocations: 89.53 kB / 0.6459 GB, free: 5.762 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.01442, allocations: 51.41 kB / 0.6459 GB, free: 5.699 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.01452, allocations: 167.2 kB / 0.6461 GB, free: 5.523 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.01453, allocations: 25.7 kB / 0.6461 GB, free: 5.492 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.01459, allocations: 116.5 kB / 0.6462 GB, free: 5.375 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.01461, allocations: 39.67 kB / 0.6463 GB, free: 5.336 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.01467, allocations: 53.58 kB / 0.6463 GB, free: 5.277 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.01476, allocations: 330.7 kB / 0.6466 GB, free: 4.945 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.0148, allocations: 19.98 kB / 0.6467 GB, free: 4.926 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.01486, allocations: 51.41 kB / 0.6467 GB, free: 4.863 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.01496, allocations: 83.17 kB / 0.6468 GB, free: 4.77 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01496, allocations: 0 / 0.6468 GB, free: 4.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001415/0.0151, allocations: 125.4 kB / 0.6469 GB, free: 4.641 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01512, allocations: 4 kB / 0.6469 GB, free: 4.637 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001044/0.01616, allocations: 4 kB / 0.6469 GB, free: 4.633 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.01619, allocations: 0 / 0.6469 GB, free: 4.633 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.01642, allocations: 51.91 kB / 0.647 GB, free: 4.582 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.01642, allocations: 4 kB / 0.647 GB, free: 4.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.01652, allocations: 19.83 kB / 0.647 GB, free: 4.559 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.01655, allocations: 15.92 kB / 0.647 GB, free: 4.543 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 0.000109/0.01666, allocations: 129.8 kB / 0.6471 GB, free: 4.406 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.0167, allocations: 8 kB / 0.6471 GB, free: 4.398 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.01693, allocations: 87.11 kB / 0.6472 GB, free: 4.309 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01693, allocations: 0 / 0.6472 GB, free: 4.309 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01693, allocations: 0 / 0.6472 GB, free: 4.309 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01694, allocations: 0 / 0.6472 GB, free: 4.309 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.01714, allocations: 113.7 kB / 0.6473 GB, free: 4.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01715, allocations: 0 / 0.6473 GB, free: 4.18 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01725, allocations: 27.92 kB / 0.6473 GB, free: 4.152 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01726, allocations: 0 / 0.6473 GB, free: 4.152 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.01728, allocations: 12 kB / 0.6474 GB, free: 4.141 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01728, allocations: 0 / 0.6474 GB, free: 4.141 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01728, allocations: 0 / 0.6474 GB, free: 4.141 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.01747, allocations: 171.4 kB / 0.6475 GB, free: 3.957 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.01752, allocations: 19.89 kB / 0.6475 GB, free: 3.938 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01754, allocations: 4 kB / 0.6475 GB, free: 3.934 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01764, allocations: 7.984 kB / 0.6476 GB, free: 3.926 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.01771, allocations: 15.92 kB / 0.6476 GB, free: 3.91 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01772, allocations: 0 / 0.6476 GB, free: 3.91 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.01777, allocations: 46.44 kB / 0.6476 GB, free: 3.863 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.01777, allocations: 0 / 0.6476 GB, free: 3.863 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003588/0.01813, allocations: 59.88 kB / 0.6477 GB, free: 3.805 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 (12): * Single equations (assignments): 12 * 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.0003332/0.01846, allocations: 132.2 kB / 0.6478 GB, free: 3.664 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.01866, allocations: 80.69 kB / 0.6479 GB, free: 3.582 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.01867, allocations: 4 kB / 0.6479 GB, free: 3.578 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.01872, allocations: 32.97 kB / 0.6479 GB, free: 3.543 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01901, allocations: 28.73 kB / 0.6479 GB, free: 3.516 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.01974, allocations: 245.3 kB / 0.6482 GB, free: 3.25 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.298e-05/0.0198, allocations: 67.84 kB / 0.6482 GB, free: 3.16 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.0199, allocations: 21.08 kB / 0.6483 GB, free: 3.141 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.02003, allocations: 75.3 kB / 0.6483 GB, free: 3.066 MB / 0.6043 GB Notification: Performance of SimCode: time 1.162e-06/0.02003, allocations: 4 kB / 0.6483 GB, free: 3.062 MB / 0.6043 GB Notification: Performance of Templates: time 0.007397/0.02742, allocations: 2.993 MB / 0.6513 GB, free: 72 kB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.859677060972899]