Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001127/0.001127, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.001245/0.001246, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.346/1.346, 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.05953/0.05953, allocations: 12.03 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004742/0.0004742, allocations: 19.97 kB / 356.3 MB, free: 13.97 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.564/1.564, allocations: 268.2 MB / 0.6617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 111.8 kB / 0.888 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.528, allocations: 108.4 MB / 0.9938 GB, free: 1.059 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006323/0.5344, allocations: 4.888 MB / 0.9986 GB, free: 12.15 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.6903, allocations: 150.7 MB / 1.146 GB, free: 4.816 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009444/0.6913, allocations: 27.81 kB / 1.146 GB, free: 4.789 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.6924, allocations: 333.6 kB / 1.146 GB, free: 4.461 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.6941, allocations: 0.4964 MB / 1.147 GB, free: 3.965 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.6961, allocations: 0.8223 MB / 1.147 GB, free: 3.152 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.6976, allocations: 1.352 MB / 1.149 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.6987, allocations: 0.8059 MB / 1.15 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.6994, allocations: 494.1 kB / 1.15 GB, free: 476 kB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.7, allocations: 0.5053 MB / 1.15 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.7002, allocations: 123.9 kB / 1.151 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.7011, allocations: 483.6 kB / 1.151 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.7014, allocations: 311 kB / 1.151 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.7019, allocations: 0.5904 MB / 1.152 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.7038, allocations: 1.763 MB / 1.154 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7038, allocations: 0 / 1.154 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7038, allocations: 0 / 1.154 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.337e-05/0.7039, allocations: 4 kB / 1.154 GB, free: 12.7 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.002366/0.7062, allocations: 1.571 MB / 1.155 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7063, allocations: 12.02 kB / 1.155 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009243/0.7072, allocations: 199.2 kB / 1.155 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.7085, allocations: 0.8823 MB / 1.156 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.7085, allocations: 66 kB / 1.156 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.7086, allocations: 92 kB / 1.156 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.7103, allocations: 0.9729 MB / 1.157 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.7103, allocations: 4 kB / 1.157 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.7104, allocations: 44 kB / 1.157 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.7104, allocations: 27.98 kB / 1.157 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.7122, allocations: 1.112 MB / 1.159 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.7161, allocations: 2.663 MB / 1.161 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.7173, allocations: 0.7104 MB / 1.162 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.7178, allocations: 266.4 kB / 1.162 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.776e-05/0.7178, allocations: 28.59 kB / 1.162 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007112/0.7185, allocations: 421.7 kB / 1.163 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.434e-06/0.7186, allocations: 4 kB / 1.163 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.002769/0.7213, allocations: 1.07 MB / 1.164 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.7214, allocations: 196.5 kB / 1.164 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.7223, allocations: 0.7475 MB / 1.164 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.7224, allocations: 41.7 kB / 1.165 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.7227, allocations: 492 kB / 1.165 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.7229, allocations: 232.6 kB / 1.165 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.7231, allocations: 146.2 kB / 1.165 GB, free: 416 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.7232, allocations: 337.9 kB / 1.166 GB, free: 72 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.7237, allocations: 233.3 kB / 1.166 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.7243, allocations: 323.3 kB / 1.166 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/0.7252, allocations: 0.539 MB / 1.167 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7253, allocations: 0 / 1.167 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001735/0.727, allocations: 0.7742 MB / 1.167 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.727, allocations: 11.94 kB / 1.167 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.727, allocations: 0 / 1.167 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.7276, allocations: 80.88 kB / 1.168 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.7282, allocations: 139.8 kB / 1.168 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.7303, allocations: 1.65 MB / 1.169 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.7309, allocations: 79.28 kB / 1.169 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.7309, allocations: 35.97 kB / 1.169 GB, free: 12.03 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.0003853/0.7313, allocations: 280.4 kB / 1.17 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.7315, allocations: 94.81 kB / 1.17 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.7337, allocations: 0.9683 MB / 1.171 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.7337, allocations: 3.984 kB / 1.171 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7337, allocations: 0 / 1.171 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.7341, allocations: 271.7 kB / 1.171 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.7342, allocations: 23.84 kB / 1.171 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.7348, allocations: 58.12 kB / 1.171 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7349, allocations: 52.92 kB / 1.171 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001849/0.7368, allocations: 0.8459 MB / 1.172 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001994/0.7388, allocations: 1.277 MB / 1.173 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005279/0.7393, allocations: 315.9 kB / 1.173 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006572/0.74, allocations: 0.5263 MB / 1.174 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of Backend: time 2.31e-07/0.74, allocations: 0 / 1.174 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003131/0.7431, allocations: 1.206 MB / 1.175 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of SimCode: time 0.003788/0.7469, allocations: 2.369 MB / 1.177 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of Templates: time 0.02823/0.7752, allocations: 17.2 MB / 1.194 GB, free: 2.879 MB / 0.8732 GB make -j1 -f AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)