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.001042/0.001042, allocations: 106.7 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.00119/0.00119, allocations: 192.3 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.0803/0.0803, allocations: 12.04 MB / 303.2 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005267/0.0005266, allocations: 30.77 kB / 356.3 MB, free: 13.96 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/2, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 111.8 kB / 0.8935 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6178, allocations: 109.2 MB / 1 GB, free: 8.371 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005688/0.6235, allocations: 4.886 MB / 1.005 GB, free: 4.539 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.7941, allocations: 150.7 MB / 1.152 GB, free: 4.469 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.7954, allocations: 31.81 kB / 1.152 GB, free: 4.438 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.7965, allocations: 333.6 kB / 1.152 GB, free: 4.109 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.7989, allocations: 0.4931 MB / 1.153 GB, free: 3.617 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.8012, allocations: 0.8137 MB / 1.154 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001889/0.8031, allocations: 1.36 MB / 1.155 GB, free: 1.445 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.8044, allocations: 0.8098 MB / 1.156 GB, free: 0.5898 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007746/0.8052, allocations: 494.1 kB / 1.156 GB, free: 108 kB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.8059, allocations: 0.5054 MB / 1.157 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000271/0.8062, allocations: 120 kB / 1.157 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.8072, allocations: 495.4 kB / 1.157 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.8076, allocations: 306.9 kB / 1.158 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.8082, allocations: 0.5943 MB / 1.158 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.8105, allocations: 1.756 MB / 1.16 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8106, allocations: 0 / 1.16 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8106, allocations: 0 / 1.16 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.8106, allocations: 0 / 1.16 GB, free: 12.34 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.002927/0.8136, allocations: 1.579 MB / 1.162 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8136, allocations: 8.031 kB / 1.162 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000997/0.8146, allocations: 203.2 kB / 1.162 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.816, allocations: 0.8785 MB / 1.163 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.8161, allocations: 70 kB / 1.163 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.8162, allocations: 88 kB / 1.163 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.818, allocations: 0.9769 MB / 1.164 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.8181, allocations: 0 / 1.164 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.8182, allocations: 40 kB / 1.164 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.8182, allocations: 20 kB / 1.164 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.82, allocations: 1.12 MB / 1.165 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.8242, allocations: 2.667 MB / 1.167 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.8255, allocations: 0.7027 MB / 1.168 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.826, allocations: 274.4 kB / 1.168 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.8261, allocations: 36.58 kB / 1.168 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007527/0.8268, allocations: 413.7 kB / 1.169 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 3.908e-06/0.8268, allocations: 0 / 1.169 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.002869/0.8297, allocations: 1.081 MB / 1.17 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.8298, allocations: 184.5 kB / 1.17 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009878/0.8308, allocations: 0.7553 MB / 1.171 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.8309, allocations: 37.7 kB / 1.171 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.8313, allocations: 500 kB / 1.171 GB, free: 424 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.8315, allocations: 236.6 kB / 1.172 GB, free: 184 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.8317, allocations: 142.2 kB / 1.172 GB, free: 36 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8318, allocations: 333.9 kB / 1.172 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.8323, allocations: 233.2 kB / 1.172 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.8329, allocations: 319.3 kB / 1.172 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.8339, allocations: 0.539 MB / 1.173 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8339, allocations: 4 kB / 1.173 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001823/0.8357, allocations: 0.7741 MB / 1.174 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8358, allocations: 8 kB / 1.174 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8358, allocations: 0 / 1.174 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.8364, allocations: 84.86 kB / 1.174 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.837, allocations: 139.8 kB / 1.174 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.8391, allocations: 1.65 MB / 1.176 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/0.8398, allocations: 79.33 kB / 1.176 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.8399, allocations: 31.92 kB / 1.176 GB, free: 11.67 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.0004903/0.8404, allocations: 275.9 kB / 1.176 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.8406, allocations: 98.86 kB / 1.176 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.8429, allocations: 0.9723 MB / 1.177 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8429, allocations: 3.984 kB / 1.177 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8429, allocations: 0 / 1.177 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.8433, allocations: 267.7 kB / 1.177 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.8435, allocations: 27.83 kB / 1.177 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.844, allocations: 50.3 kB / 1.177 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.8442, allocations: 60.91 kB / 1.177 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001871/0.8461, allocations: 0.846 MB / 1.178 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002066/0.8481, allocations: 1.273 MB / 1.179 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000534/0.8487, allocations: 311.9 kB / 1.18 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007434/0.8494, allocations: 0.5263 MB / 1.18 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of Backend: time 4.8e-07/0.8494, allocations: 0 / 1.18 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003348/0.8528, allocations: 1.209 MB / 1.181 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of SimCode: time 0.003877/0.8567, allocations: 2.387 MB / 1.184 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of Templates: time 0.02978/0.8865, allocations: 17.21 MB / 1.201 GB, free: 2.492 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)