Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.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.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter") translateModel(AixLib.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001563/0.001564, 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 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.0587/0.0587, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005087/0.0005088, allocations: 27.95 kB / 356.3 MB, free: 13.97 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.917/1.917, allocations: 272.3 MB / 0.6657 GB, free: 18.28 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 111.8 kB / 0.8935 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5404, allocations: 109.1 MB / 1 GB, free: 8.301 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.002841/0.5433, allocations: 1.645 MB / 1.002 GB, free: 7.016 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.5441, allocations: 0.5399 MB / 1.002 GB, free: 6.586 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.5442, allocations: 1.875 kB / 1.002 GB, free: 6.586 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.5444, allocations: 26.92 kB / 1.002 GB, free: 6.562 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.5446, allocations: 63.75 kB / 1.002 GB, free: 6.516 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.5448, allocations: 67.8 kB / 1.002 GB, free: 6.465 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.5449, allocations: 133.7 kB / 1.003 GB, free: 6.387 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.5451, allocations: 49.98 kB / 1.003 GB, free: 6.359 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.5452, allocations: 62.09 kB / 1.003 GB, free: 6.32 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.5453, allocations: 58.69 kB / 1.003 GB, free: 6.281 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.5453, allocations: 7.562 kB / 1.003 GB, free: 6.281 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.5454, allocations: 27.38 kB / 1.003 GB, free: 6.27 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.5455, allocations: 48.52 kB / 1.003 GB, free: 6.238 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.5456, allocations: 56.17 kB / 1.003 GB, free: 6.195 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.5457, allocations: 139.8 kB / 1.003 GB, free: 6.098 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5457, allocations: 5.156 kB / 1.003 GB, free: 6.094 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5458, allocations: 0 / 1.003 GB, free: 6.094 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5458, allocations: 11.88 kB / 1.003 GB, free: 6.082 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005076/0.5463, allocations: 458 kB / 1.003 GB, free: 5.641 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.5463, allocations: 8.531 kB / 1.003 GB, free: 5.641 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.5464, allocations: 17.34 kB / 1.003 GB, free: 5.633 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.5466, allocations: 244.6 kB / 1.004 GB, free: 5.375 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.5466, allocations: 14.38 kB / 1.004 GB, free: 5.363 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.5467, allocations: 4.844 kB / 1.004 GB, free: 5.363 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.5469, allocations: 108.5 kB / 1.004 GB, free: 5.293 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5469, allocations: 5.141 kB / 1.004 GB, free: 5.289 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.547, allocations: 1.156 kB / 1.004 GB, free: 5.289 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.547, allocations: 1.094 kB / 1.004 GB, free: 5.289 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.5472, allocations: 62.91 kB / 1.004 GB, free: 5.262 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.5477, allocations: 389.2 kB / 1.004 GB, free: 4.891 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5478, allocations: 40.36 kB / 1.004 GB, free: 4.855 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.5479, allocations: 22 kB / 1.004 GB, free: 4.844 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.548, allocations: 4 kB / 1.004 GB, free: 4.84 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.5482, allocations: 102.3 kB / 1.004 GB, free: 4.746 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5482, allocations: 0 / 1.004 GB, free: 4.746 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0004036/0.5486, allocations: 128.2 kB / 1.005 GB, free: 4.664 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.5486, allocations: 78.17 kB / 1.005 GB, free: 4.57 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.5488, allocations: 252.6 kB / 1.005 GB, free: 4.402 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.5489, allocations: 30.84 kB / 1.005 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.5489, allocations: 124.8 kB / 1.005 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.5489, allocations: 4.875 kB / 1.005 GB, free: 4.246 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.549, allocations: 28.92 kB / 1.005 GB, free: 4.215 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.549, allocations: 327.5 kB / 1.005 GB, free: 3.891 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.5492, allocations: 24.97 kB / 1.005 GB, free: 3.879 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.5493, allocations: 52.06 kB / 1.005 GB, free: 3.832 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.5495, allocations: 63.19 kB / 1.005 GB, free: 3.789 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5495, allocations: 0 / 1.005 GB, free: 3.789 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002426/0.5497, allocations: 106.6 kB / 1.006 GB, free: 3.719 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5497, allocations: 5.094 kB / 1.006 GB, free: 3.719 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.5498, allocations: 1.438 kB / 1.006 GB, free: 3.719 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5498, allocations: 5.156 kB / 1.006 GB, free: 3.715 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.5499, allocations: 15.77 kB / 1.006 GB, free: 3.707 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5499, allocations: 0.9062 kB / 1.006 GB, free: 3.707 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.55, allocations: 22.7 kB / 1.006 GB, free: 3.691 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.55, allocations: 5.219 kB / 1.006 GB, free: 3.688 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 7.588e-05/0.5501, allocations: 128.9 kB / 1.006 GB, free: 3.562 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.5501, allocations: 16 kB / 1.006 GB, free: 3.555 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.5502, allocations: 27.92 kB / 1.006 GB, free: 3.531 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5502, allocations: 3.938 kB / 1.006 GB, free: 3.527 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5502, allocations: 3.938 kB / 1.006 GB, free: 3.523 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.5502, allocations: 89.33 kB / 1.006 GB, free: 3.422 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.5502, allocations: 1.188 kB / 1.006 GB, free: 3.422 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.5503, allocations: 9.672 kB / 1.006 GB, free: 3.418 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.5504, allocations: 6.141 kB / 1.006 GB, free: 3.414 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002772/0.5507, allocations: 172.3 kB / 1.006 GB, free: 3.273 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002565/0.5509, allocations: 269.9 kB / 1.006 GB, free: 3.031 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.989e-05/0.551, allocations: 26.81 kB / 1.006 GB, free: 3.02 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001344/0.5512, allocations: 192.1 kB / 1.007 GB, free: 2.891 MB / 0.6857 GB Notification: Performance of Backend: time 3.8e-07/0.5512, allocations: 0 / 1.007 GB, free: 2.891 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.5518, allocations: 144.9 kB / 1.007 GB, free: 2.801 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005489/0.5523, allocations: 0.7522 MB / 1.007 GB, free: 2.094 MB / 0.6857 GB Notification: Performance of Templates: time 0.004633/0.557, allocations: 1.931 MB / 1.009 GB, free: 1.121 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.sim & ./AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)