Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat.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.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat") translateModel(AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.0011/0.0011, allocations: 192.4 kB / 17.35 MB, free: 5.734 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.331/1.331, 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.05984/0.05984, allocations: 12.04 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000584/0.0005839, allocations: 31.94 kB / 356.3 MB, free: 14 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.543/1.543, allocations: 268.2 MB / 0.6617 GB, free: 2.629 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 111.8 kB / 0.888 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4648, allocations: 108.4 MB / 0.9938 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat): time 0.01013/0.475, allocations: 8.065 MB / 1.002 GB, free: 9.195 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1562/0.6313, allocations: 152.3 MB / 1.15 GB, free: 304 kB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.6327, allocations: 31.88 kB / 1.15 GB, free: 272 kB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.6338, allocations: 380.7 kB / 1.151 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.6365, allocations: 0.9544 MB / 1.152 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.6397, allocations: 1.644 MB / 1.153 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004279/0.644, allocations: 3.844 MB / 1.157 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.647, allocations: 2.594 MB / 1.16 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.6486, allocations: 1.698 MB / 1.161 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.6506, allocations: 1.942 MB / 1.163 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005718/0.6512, allocations: 492 kB / 1.164 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.6526, allocations: 0.8824 MB / 1.165 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008736/0.6534, allocations: 1.091 MB / 1.166 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.655, allocations: 1.796 MB / 1.167 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004794/0.6598, allocations: 5.437 MB / 1.173 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6598, allocations: 3.984 kB / 1.173 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6598, allocations: 0 / 1.173 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.632e-05/0.6599, allocations: 0 / 1.173 GB, free: 9.41 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.008555/0.6685, allocations: 3.759 MB / 1.176 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6685, allocations: 8.031 kB / 1.176 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.6823, allocations: 2.267 MB / 1.179 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.6858, allocations: 1.811 MB / 1.18 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/0.6865, allocations: 482.2 kB / 1.181 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004913/0.687, allocations: 304 kB / 1.181 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.6976, allocations: 4.752 MB / 1.186 GB, free: 11.8 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/0.6976, allocations: 0 / 1.186 GB, free: 11.8 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/0.698, allocations: 136 kB / 1.186 GB, free: 11.66 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/0.6981, allocations: 83.88 kB / 1.186 GB, free: 11.58 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.7125, allocations: 5.781 MB / 1.192 GB, free: 5.785 MB / 0.8732 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02144/0.734, allocations: 11.83 MB / 1.203 GB, free: 9.855 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.7445, allocations: 4.004 MB / 1.207 GB, free: 5.797 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/0.7493, allocations: 1.966 MB / 1.209 GB, free: 3.832 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/0.75, allocations: 0.5036 MB / 1.209 GB, free: 3.238 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005316/0.7554, allocations: 2.219 MB / 1.212 GB, free: 1 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=234): time 4.549e-06/0.7554, allocations: 0 / 1.212 GB, free: 1 MB / 0.8888 GB Notification: Performance of matching and sorting (n=234): time 0.01598/0.7714, allocations: 5.621 MB / 1.217 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.7715, allocations: 205.9 kB / 1.217 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.7734, allocations: 1.387 MB / 1.219 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.7736, allocations: 65.7 kB / 1.219 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008956/0.7745, allocations: 1.07 MB / 1.22 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006851/0.7752, allocations: 0.7585 MB / 1.221 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008378/0.7761, allocations: 443.4 kB / 1.221 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.7762, allocations: 305.1 kB / 1.221 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00465/0.7808, allocations: 1.667 MB / 1.223 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004909/0.7858, allocations: 1.87 MB / 1.225 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3906/1.176, allocations: 3.498 MB / 1.228 GB, free: 224.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/1.176, allocations: 1.062 kB / 1.228 GB, free: 224.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01261/1.189, allocations: 3.991 MB / 1.232 GB, free: 224.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.189, allocations: 5.906 kB / 1.232 GB, free: 224.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.189, allocations: 4.531 kB / 1.232 GB, free: 224.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/1.19, allocations: 88.91 kB / 1.232 GB, free: 224.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/1.194, allocations: 0.6785 MB / 1.233 GB, free: 224.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/1.196, allocations: 1.637 MB / 1.234 GB, free: 222.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/1.199, allocations: 425 kB / 1.235 GB, free: 222.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/1.199, allocations: 104.6 kB / 1.235 GB, free: 222.6 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,window.window.sunblind[1].sunscreen,sunblind.sunscreen,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 (264): * Single equations (assignments): 263 * 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.00135/1.2, allocations: 0.7363 MB / 1.236 GB, free: 222.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/1.201, allocations: 185.7 kB / 1.236 GB, free: 222.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.213, allocations: 4.556 MB / 1.24 GB, free: 220.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/1.213, allocations: 11.95 kB / 1.24 GB, free: 220.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/1.213, allocations: 5.125 kB / 1.24 GB, free: 220.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.214, allocations: 0.6962 MB / 1.241 GB, free: 220.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/1.215, allocations: 53.92 kB / 1.241 GB, free: 220.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/1.218, allocations: 304.3 kB / 1.241 GB, free: 220.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/1.218, allocations: 155.4 kB / 1.241 GB, free: 220 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01132/1.229, allocations: 4.199 MB / 1.245 GB, free: 218.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01369/1.243, allocations: 6.499 MB / 1.252 GB, free: 216 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004076/1.247, allocations: 1.946 MB / 1.254 GB, free: 214.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001149/1.248, allocations: 1.041 MB / 1.255 GB, free: 213.9 MB / 0.9044 GB Notification: Performance of Backend: time 3.21e-07/1.248, allocations: 4 kB / 1.255 GB, free: 213.9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007366/1.256, allocations: 3.036 MB / 1.258 GB, free: 211.2 MB / 0.9044 GB Notification: Performance of SimCode: time 0.005606/1.261, allocations: 4.904 MB / 1.263 GB, free: 206.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.05233/1.314, allocations: 46.79 MB / 1.308 GB, free: 159.6 MB / 0.9044 GB make -j1 -f AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat.makefile (rm -f AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat.pipe ; mkfifo AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat.pipe ; head -c 1048576 < AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat.pipe >> ../files/AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat.sim & ./AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.ThermalZones.ReducedOrder.Windows.Examples.VentilationHeat.pipe 2>&1)