Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances") translateModel(AixLib.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 108.2 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05725/0.05725, allocations: 12.06 MB / 303.3 MB, free: 3.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005083/0.0005082, allocations: 31.94 kB / 356.3 MB, free: 13.93 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.905/1.905, allocations: 272.3 MB / 0.6657 GB, free: 18.35 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 111.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.586, allocations: 109.2 MB / 1 GB, free: 8.355 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.TraceSubstances): time 0.2072/0.7932, allocations: 195.1 MB / 1.191 GB, free: 12.81 MB / 0.8732 GB Notification: Performance of NFInst.instExpressions: time 0.02015/0.8134, allocations: 14.3 MB / 1.205 GB, free: 14.46 MB / 0.8888 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.8147, allocations: 39.75 kB / 1.205 GB, free: 14.42 MB / 0.8888 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.8165, allocations: 0.4968 MB / 1.205 GB, free: 13.92 MB / 0.8888 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.8211, allocations: 1.893 MB / 1.207 GB, free: 12.02 MB / 0.8888 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.8235, allocations: 0.8681 MB / 1.208 GB, free: 11.16 MB / 0.8888 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.8266, allocations: 2.565 MB / 1.21 GB, free: 8.59 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.8282, allocations: 1.115 MB / 1.211 GB, free: 7.449 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.8321, allocations: 1.623 MB / 1.213 GB, free: 5.836 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.8336, allocations: 0.9183 MB / 1.214 GB, free: 4.918 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.8339, allocations: 104 kB / 1.214 GB, free: 4.816 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.8361, allocations: 1.099 MB / 1.215 GB, free: 3.715 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.0005313/0.8366, allocations: 0.4987 MB / 1.216 GB, free: 3.215 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.0008802/0.8375, allocations: 0.6338 MB / 1.216 GB, free: 2.578 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.8401, allocations: 1.92 MB / 1.218 GB, free: 0.6523 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8401, allocations: 7.938 kB / 1.218 GB, free: 0.6445 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8401, allocations: 0 / 1.218 GB, free: 0.6445 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 3.76e-05/0.8402, allocations: 0 / 1.218 GB, free: 0.6445 MB / 0.8888 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002422/0.8426, allocations: 1.445 MB / 1.22 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.8426, allocations: 12.03 kB / 1.22 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.844, allocations: 254.3 kB / 1.22 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.8455, allocations: 0.796 MB / 1.221 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.8456, allocations: 70 kB / 1.221 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.8457, allocations: 92 kB / 1.221 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.8474, allocations: 1.173 MB / 1.222 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.8474, allocations: 7.938 kB / 1.222 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.8475, allocations: 39.94 kB / 1.222 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.8476, allocations: 34 kB / 1.222 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.849, allocations: 0.8976 MB / 1.223 GB, free: 11.66 MB / 0.9044 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.005701/0.8547, allocations: 5.739 MB / 1.228 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.8555, allocations: 0.5412 MB / 1.229 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.8559, allocations: 314.6 kB / 1.229 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.8565, allocations: 307.8 kB / 1.23 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.8565, allocations: 46.98 kB / 1.23 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.8566, allocations: 0 / 1.23 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.001521/0.8581, allocations: 0.7986 MB / 1.23 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.8582, allocations: 59.78 kB / 1.23 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.859, allocations: 0.7509 MB / 1.231 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.8591, allocations: 37.7 kB / 1.231 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.8595, allocations: 0.5065 MB / 1.232 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.8596, allocations: 185.5 kB / 1.232 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.8598, allocations: 142.5 kB / 1.232 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8599, allocations: 334 kB / 1.232 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.8603, allocations: 245.8 kB / 1.233 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.8609, allocations: 0.5566 MB / 1.233 GB, free: 428 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.862, allocations: 0.7957 MB / 1.234 GB, free: 15.51 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.862, allocations: 4 kB / 1.234 GB, free: 15.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001374/0.8634, allocations: 0.8421 MB / 1.235 GB, free: 14.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.8634, allocations: 8 kB / 1.235 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.8634, allocations: 12.78 kB / 1.235 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.8635, allocations: 12.05 kB / 1.235 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.8641, allocations: 163.7 kB / 1.235 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.8641, allocations: 23.86 kB / 1.235 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/0.8648, allocations: 91.11 kB / 1.235 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.8649, allocations: 32 kB / 1.235 GB, free: 14.32 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004557/0.8654, allocations: 330 kB / 1.235 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.8655, allocations: 82.97 kB / 1.235 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.8666, allocations: 0.618 MB / 1.236 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007247/0.8674, allocations: 0.5133 MB / 1.237 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8674, allocations: 0 / 1.237 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.8678, allocations: 231.8 kB / 1.237 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.8679, allocations: 8 kB / 1.237 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.8684, allocations: 15.98 kB / 1.237 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.8684, allocations: 28.41 kB / 1.237 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001197/0.8696, allocations: 0.6753 MB / 1.237 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001347/0.871, allocations: 1.106 MB / 1.239 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003286/0.8713, allocations: 267.4 kB / 1.239 GB, free: 10.39 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006904/0.872, allocations: 0.5107 MB / 1.239 GB, free: 9.883 MB / 0.92 GB Notification: Performance of Backend: time 2.3e-07/0.8721, allocations: 0 / 1.239 GB, free: 9.883 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.8738, allocations: 0.7234 MB / 1.24 GB, free: 9.172 MB / 0.92 GB Notification: Performance of SimCode: time 0.003825/0.8777, allocations: 2.477 MB / 1.242 GB, free: 6.652 MB / 0.92 GB Notification: Performance of Templates: time 0.02889/0.9066, allocations: 17.92 MB / 1.26 GB, free: 4.965 MB / 0.9357 GB make -j1 -f AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances.sim & ./AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)