Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Fluid.Sensors.Examples.TraceSubstances") translateModel(AixLib.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001057/0.001057, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001104/0.001104, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.05784/0.05784, allocations: 12.04 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004912/0.0004913, allocations: 27.91 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.536/1.536, allocations: 268.2 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00356/0.00356, allocations: 115.8 kB / 0.888 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.52, allocations: 108.4 MB / 0.9939 GB, free: 1.086 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.TraceSubstances): time 0.2001/0.7201, allocations: 195.1 MB / 1.184 GB, free: 13.24 MB / 0.8732 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.7381, allocations: 14.31 MB / 1.198 GB, free: 14.89 MB / 0.8888 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.7396, allocations: 35.81 kB / 1.198 GB, free: 14.85 MB / 0.8888 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.7412, allocations: 0.5085 MB / 1.199 GB, free: 14.34 MB / 0.8888 GB Notification: Performance of NFTyping.typeBindings: time 0.004927/0.7462, allocations: 1.964 MB / 1.201 GB, free: 12.37 MB / 0.8888 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.7486, allocations: 0.8715 MB / 1.202 GB, free: 11.5 MB / 0.8888 GB Notification: Performance of NFFlatten.flatten: time 0.003214/0.7518, allocations: 2.569 MB / 1.204 GB, free: 8.926 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.7536, allocations: 1.122 MB / 1.205 GB, free: 7.777 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.7579, allocations: 1.648 MB / 1.207 GB, free: 6.148 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.7596, allocations: 0.9241 MB / 1.208 GB, free: 5.223 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.76, allocations: 115.9 kB / 1.208 GB, free: 5.109 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.7624, allocations: 1.103 MB / 1.209 GB, free: 4.004 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.0006054/0.763, allocations: 0.4949 MB / 1.209 GB, free: 3.508 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.7646, allocations: 0.6377 MB / 1.21 GB, free: 2.867 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.7686, allocations: 1.912 MB / 1.212 GB, free: 0.9492 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7686, allocations: 0 / 1.212 GB, free: 0.9492 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7686, allocations: 0 / 1.212 GB, free: 0.9492 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 7.943e-05/0.7687, allocations: 4 kB / 1.212 GB, free: 0.9453 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.003017/0.7717, allocations: 1.453 MB / 1.213 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.7718, allocations: 8.031 kB / 1.213 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.7733, allocations: 254.3 kB / 1.214 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.7748, allocations: 0.7921 MB / 1.214 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.7749, allocations: 70 kB / 1.214 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.7751, allocations: 95.98 kB / 1.215 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.7769, allocations: 1.169 MB / 1.216 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.7769, allocations: 7.938 kB / 1.216 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/0.777, allocations: 36 kB / 1.216 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.7771, allocations: 37.98 kB / 1.216 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.7785, allocations: 0.8937 MB / 1.217 GB, free: 11.97 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.005767/0.7843, allocations: 5.739 MB / 1.222 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.7851, allocations: 0.5417 MB / 1.223 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.7855, allocations: 322.6 kB / 1.223 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005887/0.7861, allocations: 311.7 kB / 1.223 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.7861, allocations: 39 kB / 1.223 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=49): time 1.844e-06/0.7861, allocations: 4 kB / 1.223 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.001485/0.7876, allocations: 0.7986 MB / 1.224 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7877, allocations: 63.84 kB / 1.224 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/0.7886, allocations: 0.7508 MB / 1.225 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.7886, allocations: 37.7 kB / 1.225 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.789, allocations: 0.5065 MB / 1.226 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.7892, allocations: 185.5 kB / 1.226 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.7894, allocations: 142.5 kB / 1.226 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7895, allocations: 334 kB / 1.226 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.7899, allocations: 245.8 kB / 1.226 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.7905, allocations: 0.5566 MB / 1.227 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.7915, allocations: 0.7956 MB / 1.228 GB, free: 15.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.7915, allocations: 4 kB / 1.228 GB, free: 15.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001324/0.7929, allocations: 0.8421 MB / 1.229 GB, free: 14.96 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.7929, allocations: 8 kB / 1.229 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.7929, allocations: 11.98 kB / 1.229 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.7929, allocations: 12.81 kB / 1.229 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.7935, allocations: 163.7 kB / 1.229 GB, free: 14.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.7936, allocations: 19.88 kB / 1.229 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.7943, allocations: 88.48 kB / 1.229 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.7944, allocations: 35.98 kB / 1.229 GB, free: 14.63 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.0003966/0.7948, allocations: 329.5 kB / 1.229 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.7949, allocations: 82.97 kB / 1.229 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009712/0.7959, allocations: 0.6219 MB / 1.23 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006904/0.7966, allocations: 0.5172 MB / 1.23 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7966, allocations: 0 / 1.23 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.797, allocations: 227.8 kB / 1.231 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.7971, allocations: 12 kB / 1.231 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.7975, allocations: 9.875 kB / 1.231 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.7976, allocations: 32.39 kB / 1.231 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001201/0.7988, allocations: 0.6792 MB / 1.231 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001332/0.8002, allocations: 1.102 MB / 1.232 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003337/0.8005, allocations: 263.4 kB / 1.233 GB, free: 10.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006135/0.8011, allocations: 0.5107 MB / 1.233 GB, free: 10.19 MB / 0.92 GB Notification: Performance of Backend: time 3.51e-07/0.8011, allocations: 0 / 1.233 GB, free: 10.19 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.8029, allocations: 0.7386 MB / 1.234 GB, free: 9.457 MB / 0.92 GB Notification: Performance of SimCode: time 0.003868/0.8068, allocations: 2.465 MB / 1.236 GB, free: 6.957 MB / 0.92 GB Notification: Performance of Templates: time 0.4394/1.246, allocations: 17.91 MB / 1.254 GB, free: 247.2 MB / 0.92 GB make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)