Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.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.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter") translateModel(AixLib.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 110.7 kB / 16.42 MB, free: 6.465 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.001102/0.001102, allocations: 187.9 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 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.05725/0.05725, allocations: 12.05 MB / 303.3 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000548/0.0005482, allocations: 27.89 kB / 356.3 MB, free: 13.99 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 1.903/1.903, allocations: 272.3 MB / 0.6657 GB, free: 18.38 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 107.8 kB / 0.8935 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5352, allocations: 109.1 MB / 1 GB, free: 8.281 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.CSVWriter): time 0.002468/0.5377, allocations: 1.603 MB / 1.002 GB, free: 7.031 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.5385, allocations: 0.6192 MB / 1.002 GB, free: 6.543 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.5386, allocations: 1.156 kB / 1.002 GB, free: 6.543 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.5387, allocations: 22.06 kB / 1.002 GB, free: 6.523 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.5389, allocations: 46.39 kB / 1.002 GB, free: 6.488 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.5392, allocations: 112.2 kB / 1.002 GB, free: 6.406 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.5395, allocations: 192.5 kB / 1.003 GB, free: 6.301 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5396, allocations: 29.95 kB / 1.003 GB, free: 6.285 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.5397, allocations: 92.36 kB / 1.003 GB, free: 6.23 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.5399, allocations: 83.81 kB / 1.003 GB, free: 6.176 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.5399, allocations: 13.94 kB / 1.003 GB, free: 6.176 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.54, allocations: 24.69 kB / 1.003 GB, free: 6.172 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.5401, allocations: 32 kB / 1.003 GB, free: 6.152 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.5401, allocations: 71.59 kB / 1.003 GB, free: 6.105 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.5403, allocations: 170.5 kB / 1.003 GB, free: 5.988 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5404, allocations: 0 / 1.003 GB, free: 5.988 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5404, allocations: 1.656 kB / 1.003 GB, free: 5.988 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.5404, allocations: 0 / 1.003 GB, free: 5.988 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005464/0.5409, allocations: 0.5564 MB / 1.004 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.541, allocations: 8.688 kB / 1.004 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.541, allocations: 16.62 kB / 1.004 GB, free: 5.418 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.5413, allocations: 244.8 kB / 1.004 GB, free: 5.164 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5413, allocations: 11.94 kB / 1.004 GB, free: 5.16 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.5414, allocations: 10.44 kB / 1.004 GB, free: 5.16 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.5416, allocations: 119.2 kB / 1.004 GB, free: 5.078 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5417, allocations: 5.312 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.5417, allocations: 2.156 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5417, allocations: 1.062 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.5419, allocations: 75.5 kB / 1.004 GB, free: 5.039 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.5424, allocations: 412.2 kB / 1.005 GB, free: 4.652 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.5426, allocations: 94.66 kB / 1.005 GB, free: 4.59 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.5428, allocations: 79.11 kB / 1.005 GB, free: 4.547 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.5428, allocations: 2.375 kB / 1.005 GB, free: 4.547 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.543, allocations: 180.9 kB / 1.005 GB, free: 4.387 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.543, allocations: 4 kB / 1.005 GB, free: 4.383 MB / 0.6857 GB Notification: Performance of matching and sorting (n=10): time 0.0006893/0.5437, allocations: 351.6 kB / 1.005 GB, free: 4.18 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5438, allocations: 163.9 kB / 1.005 GB, free: 3.988 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.5439, allocations: 175.3 kB / 1.006 GB, free: 3.848 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.544, allocations: 33.2 kB / 1.006 GB, free: 3.812 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.544, allocations: 108.3 kB / 1.006 GB, free: 3.707 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.5441, allocations: 27.05 kB / 1.006 GB, free: 3.684 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.5441, allocations: 44.11 kB / 1.006 GB, free: 3.652 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.5442, allocations: 326 kB / 1.006 GB, free: 3.328 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.5443, allocations: 49.41 kB / 1.006 GB, free: 3.309 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.5445, allocations: 104.5 kB / 1.006 GB, free: 3.215 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.5447, allocations: 313.3 kB / 1.007 GB, free: 2.906 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5447, allocations: 1.188 kB / 1.007 GB, free: 2.906 MB / 0.6857 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004653/0.5452, allocations: 349.3 kB / 1.007 GB, free: 2.66 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.5453, allocations: 120 kB / 1.007 GB, free: 2.527 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5453, allocations: 10.38 kB / 1.007 GB, free: 2.52 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5453, allocations: 1.781 kB / 1.007 GB, free: 2.52 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5454, allocations: 22.02 kB / 1.007 GB, free: 2.512 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5454, allocations: 1.5 kB / 1.007 GB, free: 2.512 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.5455, allocations: 16.59 kB / 1.007 GB, free: 2.504 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.5456, allocations: 16.39 kB / 1.007 GB, free: 2.496 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.5457, allocations: 192.6 kB / 1.007 GB, free: 2.305 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.5457, allocations: 13.69 kB / 1.007 GB, free: 2.301 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.5458, allocations: 21.59 kB / 1.007 GB, free: 2.277 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5458, allocations: 7.922 kB / 1.007 GB, free: 2.27 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5458, allocations: 0 / 1.007 GB, free: 2.27 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.5458, allocations: 88.33 kB / 1.007 GB, free: 2.168 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.5458, allocations: 4.719 kB / 1.007 GB, free: 2.168 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.5459, allocations: 10.47 kB / 1.007 GB, free: 2.164 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.546, allocations: 10.86 kB / 1.007 GB, free: 2.156 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005177/0.5465, allocations: 490.7 kB / 1.008 GB, free: 1.766 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004885/0.547, allocations: 485.7 kB / 1.008 GB, free: 1.395 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001573/0.5472, allocations: 84.28 kB / 1.008 GB, free: 1.355 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.5473, allocations: 135.1 kB / 1.009 GB, free: 1.25 MB / 0.6857 GB Notification: Performance of Backend: time 4e-07/0.5473, allocations: 0 / 1.009 GB, free: 1.25 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0006933/0.548, allocations: 412.1 kB / 1.009 GB, free: 0.8789 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004985/0.5485, allocations: 0.7903 MB / 1.01 GB, free: 92 kB / 0.6857 GB Notification: Performance of Templates: time 0.005353/0.5538, allocations: 2.217 MB / 1.012 GB, free: 14.96 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.sim & ./AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)