Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb.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.04378/0.04378, allocations: 9.129 MB / 28.99 MB, free: 332 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.0008377/0.0008377, allocations: 98.64 kB / 35.33 MB, free: 0.9258 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.0008665/0.0008665, allocations: 169.6 kB / 38.73 MB, free: 2.375 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.022/1.022, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.004104/0.004104, allocations: 0.829 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.777/1.777, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(AixLib.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.099e-06/5.099e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-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.Sensors.Examples.TemperatureDryBulb): time 0.4993/0.4993, allocations: 147.3 MB / 0.7818 GB, free: 7.871 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.5027, allocations: 1.793 MB / 0.7835 GB, free: 6.09 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.5032, allocations: 27.75 kB / 0.7835 GB, free: 6.062 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.5036, allocations: 138.8 kB / 0.7837 GB, free: 5.926 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.5047, allocations: 0.5049 MB / 0.7842 GB, free: 5.418 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.5065, allocations: 0.683 MB / 0.7848 GB, free: 4.734 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.5077, allocations: 1.24 MB / 0.786 GB, free: 3.492 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.5081, allocations: 373.5 kB / 0.7864 GB, free: 3.133 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/0.5089, allocations: 0.6234 MB / 0.787 GB, free: 2.508 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.5093, allocations: 335 kB / 0.7873 GB, free: 2.18 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.5094, allocations: 48 kB / 0.7874 GB, free: 2.133 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.51, allocations: 323.2 kB / 0.7877 GB, free: 1.816 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.5101, allocations: 203.3 kB / 0.7879 GB, free: 1.617 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.5103, allocations: 211.5 kB / 0.7881 GB, free: 1.41 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0007354/0.5111, allocations: 0.6385 MB / 0.7887 GB, free: 0.7695 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5111, allocations: 4 kB / 0.7887 GB, free: 0.7656 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5111, allocations: 7.938 kB / 0.7887 GB, free: 0.7578 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.5111, allocations: 0 / 0.7887 GB, free: 0.7578 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009902/0.5121, allocations: 0.8434 MB / 0.7895 GB, free: 15.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5121, allocations: 11.98 kB / 0.7895 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5131, allocations: 379 kB / 0.7899 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.5136, allocations: 381.8 kB / 0.7903 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.5137, allocations: 33 kB / 0.7903 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.5137, allocations: 49.98 kB / 0.7903 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.5142, allocations: 390.8 kB / 0.7907 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5142, allocations: 0 / 0.7907 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.5142, allocations: 16 kB / 0.7907 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5143, allocations: 12 kB / 0.7907 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.5144, allocations: 129.6 kB / 0.7909 GB, free: 14.45 MB / 0.698 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.001515/0.5159, allocations: 1.451 MB / 0.7923 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.5162, allocations: 192.4 kB / 0.7925 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.5163, allocations: 61.03 kB / 0.7925 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.5165, allocations: 57.88 kB / 0.7926 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.5167, allocations: 161.2 kB / 0.7927 GB, free: 12.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.995e-06/0.5168, allocations: 0 / 0.7927 GB, free: 12.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0004573/0.5172, allocations: 243.9 kB / 0.793 GB, free: 12.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.5173, allocations: 63.14 kB / 0.793 GB, free: 12.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.5175, allocations: 351.2 kB / 0.7934 GB, free: 11.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.5175, allocations: 41.7 kB / 0.7934 GB, free: 11.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.5176, allocations: 229.4 kB / 0.7936 GB, free: 11.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.5177, allocations: 126.9 kB / 0.7937 GB, free: 11.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5178, allocations: 94.09 kB / 0.7938 GB, free: 11.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.5179, allocations: 354.7 kB / 0.7942 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.518, allocations: 107.2 kB / 0.7943 GB, free: 10.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.5182, allocations: 331.9 kB / 0.7946 GB, free: 10.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.5184, allocations: 272 kB / 0.7948 GB, free: 10.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5184, allocations: 0 / 0.7948 GB, free: 10.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003335/0.5188, allocations: 362.1 kB / 0.7952 GB, free: 9.719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.5188, allocations: 63.39 kB / 0.7952 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5188, allocations: 4.625 kB / 0.7953 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5188, allocations: 7.938 kB / 0.7953 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.5191, allocations: 95.83 kB / 0.7954 GB, free: 9.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5191, allocations: 4 kB / 0.7954 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.5193, allocations: 64.08 kB / 0.7954 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.5193, allocations: 17.19 kB / 0.7954 GB, free: 9.457 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.00013/0.5194, allocations: 148.5 kB / 0.7956 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.5195, allocations: 39.97 kB / 0.7956 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.5198, allocations: 228 kB / 0.7958 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5198, allocations: 7.938 kB / 0.7958 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.5198, allocations: 0 / 0.7958 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5198, allocations: 0 / 0.7958 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.5206, allocations: 0.7305 MB / 0.7966 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5206, allocations: 4.625 kB / 0.7966 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5207, allocations: 72.27 kB / 0.7966 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5207, allocations: 8 kB / 0.7966 GB, free: 8.125 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.5208, allocations: 12 kB / 0.7966 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.5208, allocations: 9.453 kB / 0.7967 GB, free: 8.105 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5208, allocations: 4 kB / 0.7967 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.5212, allocations: 0.5006 MB / 0.7971 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.5213, allocations: 59.64 kB / 0.7972 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.5214, allocations: 8 kB / 0.7972 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.5215, allocations: 32 kB / 0.7972 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.5216, allocations: 51.86 kB / 0.7973 GB, free: 7.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5216, allocations: 8.812 kB / 0.7973 GB, free: 7.375 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001171/0.5217, allocations: 144.7 kB / 0.7974 GB, free: 7.238 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.5217, allocations: 0 / 0.7974 GB, free: 7.238 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003916/0.5221, allocations: 163.7 kB / 0.7976 GB, free: 7.078 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002594/0.5224, allocations: 133.2 kB / 0.7977 GB, free: 6.941 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.5228, allocations: 355.1 kB / 0.7981 GB, free: 6.559 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.5228, allocations: 4 kB / 0.7981 GB, free: 6.555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.5229, allocations: 109.5 kB / 0.7982 GB, free: 6.449 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.5235, allocations: 217.6 kB / 0.7984 GB, free: 6.262 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.525, allocations: 0.9111 MB / 0.7993 GB, free: 5.285 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.5251, allocations: 133.8 kB / 0.7994 GB, free: 5.137 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.5254, allocations: 70.36 kB / 0.7995 GB, free: 5.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.5257, allocations: 201.2 kB / 0.7997 GB, free: 4.871 MB / 0.698 GB Notification: Performance of SimCode: time 1.462e-06/0.5257, allocations: 0 / 0.7997 GB, free: 4.871 MB / 0.698 GB Notification: Performance of Templates: time 0.01264/0.5383, allocations: 9.389 MB / 0.8088 GB, free: 11.91 MB / 0.7137 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.366996206808835]