Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.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.04432/0.04432, 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.0008698/0.0008698, 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.001134/0.001134, 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.04/1.04, allocations: 177.1 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.004126/0.004126, allocations: 0.8261 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.627/1.627, allocations: 274.9 MB / 0.5419 GB, free: 0.5859 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.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(AixLib.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.056e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4813/0.4813, allocations: 146.1 MB / 0.7806 GB, free: 9.02 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.4842, allocations: 2.321 MB / 0.7828 GB, free: 6.711 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.4844, allocations: 15.88 kB / 0.7829 GB, free: 6.695 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.4847, allocations: 99.14 kB / 0.783 GB, free: 6.598 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.4862, allocations: 0.6644 MB / 0.7836 GB, free: 5.93 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.4871, allocations: 0.5152 MB / 0.7841 GB, free: 5.414 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.4878, allocations: 0.7406 MB / 0.7848 GB, free: 4.672 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.4882, allocations: 236 kB / 0.7851 GB, free: 4.449 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.4887, allocations: 406.9 kB / 0.7854 GB, free: 4.051 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.4893, allocations: 390.9 kB / 0.7858 GB, free: 3.668 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.4893, allocations: 24 kB / 0.7858 GB, free: 3.645 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.49, allocations: 478.6 kB / 0.7863 GB, free: 3.176 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.4901, allocations: 123.6 kB / 0.7864 GB, free: 3.055 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/0.4902, allocations: 119.8 kB / 0.7865 GB, free: 2.938 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.4908, allocations: 0.5334 MB / 0.787 GB, free: 2.402 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4908, allocations: 0 / 0.787 GB, free: 2.402 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4908, allocations: 0 / 0.787 GB, free: 2.402 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.4908, allocations: 0 / 0.787 GB, free: 2.402 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0006483/0.4915, allocations: 0.5639 MB / 0.7876 GB, free: 1.82 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4915, allocations: 11.98 kB / 0.7876 GB, free: 1.809 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.4922, allocations: 184.3 kB / 0.7878 GB, free: 1.629 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.4925, allocations: 266.9 kB / 0.788 GB, free: 1.348 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/0.4926, allocations: 79.98 kB / 0.7881 GB, free: 1.254 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.4927, allocations: 29.55 kB / 0.7881 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.493, allocations: 292.5 kB / 0.7884 GB, free: 0.9062 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.493, allocations: 0 / 0.7884 GB, free: 0.9062 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.493, allocations: 12 kB / 0.7884 GB, free: 0.8945 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.493, allocations: 4 kB / 0.7884 GB, free: 0.8906 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4931, allocations: 86.23 kB / 0.7885 GB, free: 0.8086 MB / 0.6824 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.494, allocations: 0.8691 MB / 0.7894 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.4941, allocations: 127.6 kB / 0.7895 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.4942, allocations: 35.66 kB / 0.7895 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.4944, allocations: 79.92 kB / 0.7896 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.4944, allocations: 30.56 kB / 0.7896 GB, free: 15.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.4944, allocations: 0 / 0.7896 GB, free: 15.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.000283/0.4947, allocations: 127.1 kB / 0.7898 GB, free: 15.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.4947, allocations: 55.41 kB / 0.7898 GB, free: 15.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.4952, allocations: 228.9 kB / 0.79 GB, free: 15.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.4952, allocations: 33.7 kB / 0.7901 GB, free: 15.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.269e-05/0.4953, allocations: 168.9 kB / 0.7902 GB, free: 14.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4953, allocations: 59.52 kB / 0.7903 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.4954, allocations: 49.64 kB / 0.7903 GB, free: 14.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.4955, allocations: 334.8 kB / 0.7906 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.4955, allocations: 18.81 kB / 0.7907 GB, free: 14.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.893e-05/0.4956, allocations: 143.1 kB / 0.7908 GB, free: 14.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4957, allocations: 110 kB / 0.7909 GB, free: 14.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4957, allocations: 0 / 0.7909 GB, free: 14.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001798/0.4959, allocations: 123 kB / 0.791 GB, free: 14.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4959, allocations: 4 kB / 0.791 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4959, allocations: 5 kB / 0.791 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.496, allocations: 0 / 0.791 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4961, allocations: 48.11 kB / 0.7911 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4961, allocations: 4.484 kB / 0.7911 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.4961, allocations: 23.88 kB / 0.7911 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4962, allocations: 8 kB / 0.7911 GB, free: 13.99 MB / 0.698 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 (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 prepare postOptimizeDAE: time 7.754e-05/0.4962, allocations: 120.6 kB / 0.7912 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.4963, allocations: 26.73 kB / 0.7912 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.4965, allocations: 136 kB / 0.7914 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4965, allocations: 0 / 0.7914 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.4965, allocations: 0 / 0.7914 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4965, allocations: 7.922 kB / 0.7914 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.497, allocations: 0.5211 MB / 0.7919 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.497, allocations: 4 kB / 0.7919 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.497, allocations: 35.92 kB / 0.7919 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.497, allocations: 3.938 kB / 0.7919 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.4971, allocations: 4 kB / 0.7919 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4971, allocations: 5.438 kB / 0.7919 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4971, allocations: 0 / 0.7919 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.4972, allocations: 306.3 kB / 0.7922 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.4973, allocations: 39.77 kB / 0.7923 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4973, allocations: 8 kB / 0.7923 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.4974, allocations: 4 kB / 0.7923 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4974, allocations: 19.97 kB / 0.7923 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.4974, allocations: 4 kB / 0.7923 GB, free: 12.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.4975, allocations: 78.77 kB / 0.7924 GB, free: 12.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.4975, allocations: 0 / 0.7924 GB, free: 12.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002542/0.4977, allocations: 107.7 kB / 0.7925 GB, free: 12.47 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0002508/0.498, allocations: 153.2 kB / 0.7926 GB, free: 12.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.4981, allocations: 88.75 kB / 0.7927 GB, free: 12.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4981, allocations: 4 kB / 0.7927 GB, free: 12.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.4982, allocations: 40.72 kB / 0.7928 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4985, allocations: 115.5 kB / 0.7929 GB, free: 12.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.4994, allocations: 0.5475 MB / 0.7934 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.4994, allocations: 100.2 kB / 0.7935 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.4995, allocations: 45.14 kB / 0.7935 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.4997, allocations: 131.2 kB / 0.7937 GB, free: 11.2 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.4997, allocations: 4 kB / 0.7937 GB, free: 11.19 MB / 0.698 GB Notification: Performance of Templates: time 0.007635/0.5073, allocations: 5.673 MB / 0.7992 GB, free: 5.777 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2139494540169835]