Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001116/0.001116, 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.05881/0.05881, allocations: 12.04 MB / 303.3 MB, free: 3.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000494/0.0004941, allocations: 27.94 kB / 356.3 MB, free: 14.02 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.506/1.506, allocations: 268.2 MB / 0.6617 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003991/0.003991, allocations: 119.8 kB / 0.888 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5314/0.5354, allocations: 108.4 MB / 0.9938 GB, free: 1.152 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.177/0.7124, allocations: 175.8 MB / 1.166 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.7294, allocations: 12.64 MB / 1.178 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.7307, allocations: 31.88 kB / 1.178 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.7322, allocations: 448.7 kB / 1.178 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.7354, allocations: 0.9506 MB / 1.179 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005003/0.7404, allocations: 1.837 MB / 1.181 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.7436, allocations: 2.283 MB / 1.183 GB, free: 14.42 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.746, allocations: 1.594 MB / 1.185 GB, free: 12.79 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.7501, allocations: 1.397 MB / 1.186 GB, free: 11.41 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.7513, allocations: 0.8129 MB / 1.187 GB, free: 10.6 MB / 0.8732 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.7517, allocations: 160 kB / 1.187 GB, free: 10.44 MB / 0.8732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.7547, allocations: 1.412 MB / 1.189 GB, free: 9.027 MB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.0005518/0.7553, allocations: 470.6 kB / 1.189 GB, free: 8.562 MB / 0.8732 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.7564, allocations: 0.7929 MB / 1.19 GB, free: 7.766 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.7605, allocations: 2.641 MB / 1.192 GB, free: 5.117 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7605, allocations: 0 / 1.192 GB, free: 5.117 MB / 0.8732 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7605, allocations: 0 / 1.192 GB, free: 5.117 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 6.09e-05/0.7606, allocations: 0 / 1.192 GB, free: 5.117 MB / 0.8732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003864/0.7645, allocations: 1.915 MB / 1.194 GB, free: 3.145 MB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.7645, allocations: 8.031 kB / 1.194 GB, free: 3.137 MB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.7673, allocations: 401.6 kB / 1.195 GB, free: 2.742 MB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.769, allocations: 0.9956 MB / 1.196 GB, free: 1.703 MB / 0.8732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.182e-05/0.7691, allocations: 94.62 kB / 1.196 GB, free: 1.609 MB / 0.8732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.7693, allocations: 128 kB / 1.196 GB, free: 1.484 MB / 0.8732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.7718, allocations: 1.456 MB / 1.197 GB, free: 15.95 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.7718, allocations: 0 / 1.197 GB, free: 15.95 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.772, allocations: 64 kB / 1.197 GB, free: 15.88 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.772, allocations: 32 kB / 1.197 GB, free: 15.85 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.7746, allocations: 1.532 MB / 1.199 GB, free: 14.32 MB / 0.8888 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.006576/0.7812, allocations: 4.873 MB / 1.204 GB, free: 9.184 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.7836, allocations: 1.425 MB / 1.205 GB, free: 7.68 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.7844, allocations: 453.7 kB / 1.205 GB, free: 7.238 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/0.7851, allocations: 421.4 kB / 1.206 GB, free: 6.75 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.7863, allocations: 0.6177 MB / 1.206 GB, free: 6.121 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=98): time 2.776e-06/0.7863, allocations: 4 kB / 1.206 GB, free: 6.117 MB / 0.8888 GB Notification: Performance of matching and sorting (n=98): time 0.003967/0.7902, allocations: 1.534 MB / 1.208 GB, free: 4.562 MB / 0.8888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/0.7904, allocations: 192.9 kB / 1.208 GB, free: 4.332 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.7914, allocations: 0.8542 MB / 1.209 GB, free: 3.453 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 8.93e-05/0.7915, allocations: 49.7 kB / 1.209 GB, free: 3.398 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.792, allocations: 0.57 MB / 1.209 GB, free: 2.82 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.7922, allocations: 331.2 kB / 1.21 GB, free: 2.492 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.7925, allocations: 202.4 kB / 1.21 GB, free: 2.289 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7927, allocations: 341.9 kB / 1.21 GB, free: 1.949 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/0.7934, allocations: 365.8 kB / 1.211 GB, free: 1.59 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.7943, allocations: 0.5365 MB / 1.211 GB, free: 1.004 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.7959, allocations: 0.898 MB / 1.212 GB, free: 68 kB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7959, allocations: 0 / 1.212 GB, free: 68 kB / 0.8888 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002584/0.7985, allocations: 1.149 MB / 1.213 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7985, allocations: 8 kB / 1.213 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.7985, allocations: 7.938 kB / 1.213 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/0.7992, allocations: 93.11 kB / 1.213 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.8003, allocations: 235.7 kB / 1.214 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.8024, allocations: 1.646 MB / 1.215 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000915/0.8033, allocations: 124.4 kB / 1.215 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/0.8034, allocations: 47.97 kB / 1.215 GB, free: 12.61 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (119): * Single equations (assignments): 118 * 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.0005374/0.8039, allocations: 335.6 kB / 1.216 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.8041, allocations: 118.6 kB / 1.216 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.8071, allocations: 1.322 MB / 1.217 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.8072, allocations: 7.922 kB / 1.217 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8072, allocations: 8 kB / 1.217 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.8077, allocations: 343.2 kB / 1.217 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.8078, allocations: 16 kB / 1.217 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.8086, allocations: 66.56 kB / 1.217 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.8088, allocations: 72.89 kB / 1.218 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002733/0.8115, allocations: 1.197 MB / 1.219 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003026/0.8146, allocations: 1.793 MB / 1.22 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007958/0.8154, allocations: 475.8 kB / 1.221 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007615/0.8162, allocations: 0.5864 MB / 1.221 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of Backend: time 3.61e-07/0.8162, allocations: 0 / 1.221 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004253/0.8204, allocations: 1.643 MB / 1.223 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00411/0.8245, allocations: 2.691 MB / 1.226 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of Templates: time 0.4396/1.264, allocations: 26.11 MB / 1.251 GB, free: 241.9 MB / 0.92 GB make -j1 -f AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)