Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 114.8 kB / 16.42 MB, free: 6.488 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.001398/0.001398, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.16 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.05728/0.05728, 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.000527/0.000527, allocations: 23.95 kB / 356.3 MB, free: 13.98 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 2.007/2.007, allocations: 272.3 MB / 0.6657 GB, free: 18.27 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 111.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5318, allocations: 109.1 MB / 1 GB, free: 8.238 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005196/0.537, allocations: 4.894 MB / 1.005 GB, free: 4.398 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1613/0.6983, allocations: 150.7 MB / 1.152 GB, free: 4.301 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.6998, allocations: 31.75 kB / 1.152 GB, free: 4.27 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0008477/0.7007, allocations: 333.6 kB / 1.152 GB, free: 3.941 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.7025, allocations: 498.8 kB / 1.153 GB, free: 3.457 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.7043, allocations: 0.816 MB / 1.154 GB, free: 2.645 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.7056, allocations: 1.352 MB / 1.155 GB, free: 1.289 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009783/0.7066, allocations: 0.8059 MB / 1.156 GB, free: 448 kB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.7071, allocations: 498.1 kB / 1.156 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.7076, allocations: 0.5014 MB / 1.157 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.7078, allocations: 120 kB / 1.157 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008375/0.7086, allocations: 491.6 kB / 1.157 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.7089, allocations: 310.9 kB / 1.158 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.7094, allocations: 0.5904 MB / 1.158 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.7112, allocations: 1.755 MB / 1.16 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7112, allocations: 0 / 1.16 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7112, allocations: 4 kB / 1.16 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.7112, allocations: 4 kB / 1.16 GB, free: 12.18 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002263/0.7135, allocations: 1.571 MB / 1.161 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7135, allocations: 12.02 kB / 1.161 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.7144, allocations: 199.2 kB / 1.162 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.7157, allocations: 0.8824 MB / 1.163 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.7158, allocations: 66 kB / 1.163 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7159, allocations: 103.9 kB / 1.163 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.7174, allocations: 0.9652 MB / 1.164 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.7174, allocations: 0 / 1.164 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.7175, allocations: 40 kB / 1.164 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.7175, allocations: 27.98 kB / 1.164 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.7192, allocations: 1.112 MB / 1.165 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.7229, allocations: 2.667 MB / 1.167 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.7241, allocations: 0.7104 MB / 1.168 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.7245, allocations: 266.4 kB / 1.168 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.49e-05/0.7246, allocations: 28.59 kB / 1.168 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006855/0.7253, allocations: 429.7 kB / 1.169 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.024e-06/0.7253, allocations: 3.938 kB / 1.169 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.002732/0.728, allocations: 1.074 MB / 1.17 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.7281, allocations: 196.4 kB / 1.17 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008188/0.729, allocations: 0.7514 MB / 1.171 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.729, allocations: 41.7 kB / 1.171 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.7294, allocations: 484 kB / 1.171 GB, free: 272 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.7296, allocations: 236.6 kB / 1.171 GB, free: 32 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.7298, allocations: 146.2 kB / 1.172 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7299, allocations: 341.9 kB / 1.172 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.7304, allocations: 229.2 kB / 1.172 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.7309, allocations: 319.3 kB / 1.172 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.7319, allocations: 0.539 MB / 1.173 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7319, allocations: 4 kB / 1.173 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001713/0.7336, allocations: 0.7741 MB / 1.174 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7336, allocations: 8 kB / 1.174 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7336, allocations: 0 / 1.174 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.7342, allocations: 80.88 kB / 1.174 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.7348, allocations: 139.8 kB / 1.174 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.7368, allocations: 1.644 MB / 1.176 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.7374, allocations: 77.09 kB / 1.176 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.7375, allocations: 44.03 kB / 1.176 GB, free: 11.52 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003483/0.7378, allocations: 274.6 kB / 1.176 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.738, allocations: 102.8 kB / 1.176 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.7402, allocations: 0.9644 MB / 1.177 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.7403, allocations: 3.984 kB / 1.177 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7403, allocations: 4 kB / 1.177 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.7407, allocations: 267.8 kB / 1.177 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7408, allocations: 23.84 kB / 1.177 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.7413, allocations: 59.92 kB / 1.177 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.7415, allocations: 56.86 kB / 1.177 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001763/0.7432, allocations: 0.846 MB / 1.178 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001856/0.7451, allocations: 1.277 MB / 1.179 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000477/0.7456, allocations: 311.8 kB / 1.18 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005994/0.7462, allocations: 0.5302 MB / 1.18 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of Backend: time 1.653e-06/0.7462, allocations: 0 / 1.18 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.7491, allocations: 1.209 MB / 1.181 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of SimCode: time 0.003356/0.7525, allocations: 2.38 MB / 1.184 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of Templates: time 0.02759/0.7801, allocations: 17.19 MB / 1.201 GB, free: 2.348 MB / 0.8732 GB make -j1 -f AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)