Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter") translateModel(AixLib.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001296/0.001296, allocations: 113.7 kB / 16.42 MB, free: 6.504 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.001262/0.001262, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.437/1.437, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000635/0.0006351, allocations: 31.89 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.611/1.611, allocations: 268.2 MB / 0.6617 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 116.3 kB / 0.888 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5589/0.561, allocations: 108.4 MB / 0.9938 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.003259/0.5643, allocations: 1.642 MB / 0.9954 GB, free: 15.63 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.5653, allocations: 0.5388 MB / 0.996 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.5654, allocations: 4 kB / 0.996 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.5656, allocations: 27.73 kB / 0.996 GB, free: 15.06 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.5659, allocations: 63.67 kB / 0.996 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.5661, allocations: 63.91 kB / 0.9961 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.5663, allocations: 131.5 kB / 0.9962 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.5665, allocations: 56.69 kB / 0.9963 GB, free: 14.75 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.5666, allocations: 51.78 kB / 0.9963 GB, free: 14.7 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.5668, allocations: 63.69 kB / 0.9964 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.5668, allocations: 11.94 kB / 0.9964 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.397e-05/0.5669, allocations: 19.98 kB / 0.9964 GB, free: 14.61 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 9.254e-05/0.567, allocations: 43.89 kB / 0.9965 GB, free: 14.56 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.5671, allocations: 63.55 kB / 0.9965 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.5673, allocations: 155.2 kB / 0.9967 GB, free: 14.35 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5673, allocations: 0 / 0.9967 GB, free: 14.35 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5673, allocations: 0 / 0.9967 GB, free: 14.35 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5673, allocations: 0 / 0.9967 GB, free: 14.35 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.0006087/0.5679, allocations: 466.5 kB / 0.9971 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.568, allocations: 8.031 kB / 0.9971 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.568, allocations: 16.84 kB / 0.9971 GB, free: 13.82 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.5684, allocations: 252.9 kB / 0.9974 GB, free: 13.53 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.5684, allocations: 4.375 kB / 0.9974 GB, free: 13.53 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.5684, allocations: 8.375 kB / 0.9974 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.5687, allocations: 106 kB / 0.9975 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5687, allocations: 0 / 0.9975 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.5687, allocations: 0 / 0.9975 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5687, allocations: 0 / 0.9975 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.569, allocations: 67.94 kB / 0.9976 GB, free: 13.34 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.5696, allocations: 384.5 kB / 0.9979 GB, free: 12.92 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.5697, allocations: 46.48 kB / 0.998 GB, free: 12.86 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5699, allocations: 32.89 kB / 0.998 GB, free: 12.83 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.5699, allocations: 0 / 0.998 GB, free: 12.83 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.5701, allocations: 93.08 kB / 0.9981 GB, free: 12.72 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.5701, allocations: 0 / 0.9981 GB, free: 12.72 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.000459/0.5706, allocations: 129.4 kB / 0.9982 GB, free: 12.59 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5707, allocations: 85.03 kB / 0.9983 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.5709, allocations: 253 kB / 0.9985 GB, free: 12.23 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.571, allocations: 25.7 kB / 0.9986 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.5711, allocations: 136 kB / 0.9987 GB, free: 12.06 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.5711, allocations: 7.953 kB / 0.9987 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.5712, allocations: 13.72 kB / 0.9987 GB, free: 12.04 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5713, allocations: 338.8 kB / 0.999 GB, free: 11.7 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.5714, allocations: 19.98 kB / 0.9991 GB, free: 11.68 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.5716, allocations: 47.41 kB / 0.9991 GB, free: 11.62 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.5718, allocations: 74.48 kB / 0.9992 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.5718, allocations: 4 kB / 0.9992 GB, free: 11.53 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002986/0.5721, allocations: 105.5 kB / 0.9993 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5722, allocations: 8 kB / 0.9993 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5722, allocations: 0 / 0.9993 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5722, allocations: 4 kB / 0.9993 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5723, allocations: 15.92 kB / 0.9993 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5723, allocations: 0 / 0.9993 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.5724, allocations: 15.98 kB / 0.9993 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5724, allocations: 0 / 0.9993 GB, free: 11.38 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 0.0001307/0.5726, allocations: 129.8 kB / 0.9994 GB, free: 11.24 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.5726, allocations: 23.86 kB / 0.9995 GB, free: 11.22 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.5727, allocations: 17.23 kB / 0.9995 GB, free: 11.2 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5727, allocations: 3.938 kB / 0.9995 GB, free: 11.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5727, allocations: 0 / 0.9995 GB, free: 11.2 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.5727, allocations: 92.95 kB / 0.9996 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.5728, allocations: 4 kB / 0.9996 GB, free: 11.08 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.5729, allocations: 7.984 kB / 0.9996 GB, free: 11.07 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.5729, allocations: 11.98 kB / 0.9996 GB, free: 11.06 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003569/0.5733, allocations: 168.8 kB / 0.9998 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003537/0.5737, allocations: 266.6 kB / 1 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001288/0.5738, allocations: 32.34 kB / 1 GB, free: 10.58 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001724/0.574, allocations: 192.4 kB / 1 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of Backend: time 3.31e-07/0.574, allocations: 0 / 1 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0006631/0.5747, allocations: 164.7 kB / 1 GB, free: 10.24 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006684/0.5753, allocations: 0.7382 MB / 1.001 GB, free: 9.449 MB / 0.6857 GB Notification: Performance of Templates: time 0.005053/0.5804, allocations: 1.926 MB / 1.003 GB, free: 7.555 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.sim & ./AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)