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.04177/0.04177, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.0009591/0.0009591, allocations: 95.2 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.001174/0.001174, allocations: 164.5 kB / 38.73 MB, free: 2.484 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.9356/0.9356, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004037/0.004037, allocations: 0.8217 MB / 276.5 MB, free: 0.7461 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.656/1.656, 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.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.483e-06/1.483e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.275e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4532/0.4532, allocations: 146.2 MB / 0.7807 GB, free: 8.969 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.002924/0.4561, allocations: 2.318 MB / 0.7829 GB, free: 6.66 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.4563, allocations: 19.88 kB / 0.783 GB, free: 6.641 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.4567, allocations: 91.2 kB / 0.783 GB, free: 6.551 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.4579, allocations: 0.6644 MB / 0.7837 GB, free: 5.883 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.4589, allocations: 0.5058 MB / 0.7842 GB, free: 5.379 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.4596, allocations: 0.7405 MB / 0.7849 GB, free: 4.637 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.46, allocations: 227.9 kB / 0.7851 GB, free: 4.422 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.4604, allocations: 398.9 kB / 0.7855 GB, free: 4.031 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.461, allocations: 386.9 kB / 0.7859 GB, free: 3.652 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.4611, allocations: 24 kB / 0.7859 GB, free: 3.629 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.4618, allocations: 486.6 kB / 0.7864 GB, free: 3.152 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.4619, allocations: 139.5 kB / 0.7865 GB, free: 3.016 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.462, allocations: 115.8 kB / 0.7866 GB, free: 2.902 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.4627, allocations: 0.5334 MB / 0.7871 GB, free: 2.367 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4627, allocations: 0 / 0.7871 GB, free: 2.367 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4627, allocations: 0 / 0.7871 GB, free: 2.367 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4627, allocations: 0 / 0.7871 GB, free: 2.367 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.0005955/0.4633, allocations: 0.556 MB / 0.7877 GB, free: 1.793 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.4633, allocations: 11.98 kB / 0.7877 GB, free: 1.781 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.4639, allocations: 184.3 kB / 0.7879 GB, free: 1.602 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4642, allocations: 266.9 kB / 0.7881 GB, free: 1.32 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.4643, allocations: 80 kB / 0.7882 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.4643, allocations: 28 kB / 0.7882 GB, free: 1.199 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.4646, allocations: 292.4 kB / 0.7885 GB, free: 0.8789 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4646, allocations: 4 kB / 0.7885 GB, free: 0.875 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.4646, allocations: 12 kB / 0.7885 GB, free: 0.8633 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4647, allocations: 4 kB / 0.7885 GB, free: 0.8594 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4648, allocations: 86.23 kB / 0.7886 GB, free: 0.7773 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.0008748/0.4656, allocations: 0.8771 MB / 0.7895 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.4658, allocations: 114.9 kB / 0.7896 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.4658, allocations: 39.66 kB / 0.7896 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.4661, allocations: 71.92 kB / 0.7897 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4661, allocations: 38.5 kB / 0.7897 GB, free: 15.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.4661, allocations: 0.5625 kB / 0.7897 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0002995/0.4664, allocations: 126.3 kB / 0.7898 GB, free: 15.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.4664, allocations: 59.34 kB / 0.7899 GB, free: 15.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4665, allocations: 225 kB / 0.7901 GB, free: 15.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4666, allocations: 29.7 kB / 0.7901 GB, free: 15.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.4666, allocations: 180.9 kB / 0.7903 GB, free: 14.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4667, allocations: 51.52 kB / 0.7903 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.4667, allocations: 49.64 kB / 0.7904 GB, free: 14.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.4668, allocations: 338.8 kB / 0.7907 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.4668, allocations: 15.33 kB / 0.7907 GB, free: 14.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.4669, allocations: 151.6 kB / 0.7909 GB, free: 14.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.467, allocations: 96.75 kB / 0.791 GB, free: 14.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.467, allocations: 4 kB / 0.791 GB, free: 14.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001683/0.4672, allocations: 123.2 kB / 0.7911 GB, free: 14.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4672, allocations: 4 kB / 0.7911 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4672, allocations: 4 kB / 0.7911 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4672, allocations: 3.984 kB / 0.7911 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4673, allocations: 39.92 kB / 0.7911 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4673, allocations: 7.938 kB / 0.7911 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.4674, allocations: 19.89 kB / 0.7912 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.4674, allocations: 9.938 kB / 0.7912 GB, free: 13.96 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 8.394e-05/0.4675, allocations: 132.8 kB / 0.7913 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.4676, allocations: 19.92 kB / 0.7913 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.4678, allocations: 132.7 kB / 0.7914 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4678, allocations: 4 kB / 0.7914 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.4678, allocations: 0 / 0.7914 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4678, allocations: 3.938 kB / 0.7915 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.4682, allocations: 0.5208 MB / 0.792 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4682, allocations: 8.031 kB / 0.792 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.4683, allocations: 31.92 kB / 0.792 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4683, allocations: 0.875 kB / 0.792 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4683, allocations: 7.984 kB / 0.792 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4683, allocations: 7.938 kB / 0.792 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4683, allocations: 0 / 0.792 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.4685, allocations: 303.8 kB / 0.7923 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.4686, allocations: 39.75 kB / 0.7923 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.4686, allocations: 8 kB / 0.7924 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.4687, allocations: 8.812 kB / 0.7924 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.4687, allocations: 20.91 kB / 0.7924 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4687, allocations: 4 kB / 0.7924 GB, free: 12.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.4688, allocations: 74.78 kB / 0.7925 GB, free: 12.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4688, allocations: 0 / 0.7925 GB, free: 12.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002586/0.469, allocations: 111.7 kB / 0.7926 GB, free: 12.43 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.0002391/0.4693, allocations: 156.4 kB / 0.7927 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.4694, allocations: 84.56 kB / 0.7928 GB, free: 12.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4694, allocations: 4 kB / 0.7928 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.4695, allocations: 46.88 kB / 0.7928 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.4698, allocations: 109.2 kB / 0.7929 GB, free: 12.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.4706, allocations: 0.5531 MB / 0.7935 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.4707, allocations: 92.3 kB / 0.7936 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.4708, allocations: 38.83 kB / 0.7936 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.471, allocations: 139.2 kB / 0.7937 GB, free: 11.16 MB / 0.698 GB Notification: Performance of SimCode: time 9.51e-07/0.471, allocations: 0 / 0.7937 GB, free: 11.16 MB / 0.698 GB Notification: Performance of Templates: time 0.007333/0.4784, allocations: 5.677 MB / 0.7993 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.018278760835528]