Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.00155, allocations: 115 kB / 16.42 MB, free: 6.02 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.001791/0.001791, allocations: 184.3 kB / 17.35 MB, free: 5.625 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.463/1.463, allocations: 222.9 MB / 241.1 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.05853/0.05853, allocations: 12.04 MB / 303.2 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007014/0.0007015, allocations: 19.97 kB / 356.3 MB, free: 13.99 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.635/1.635, allocations: 268.2 MB / 0.6617 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 111.8 kB / 0.888 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7529, allocations: 108.4 MB / 0.9938 GB, free: 11.84 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002428/0.7554, allocations: 1.271 MB / 0.9951 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.756, allocations: 285.6 kB / 0.9954 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.756, allocations: 0 / 0.9954 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.7561, allocations: 1.062 kB / 0.9954 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.7562, allocations: 7.922 kB / 0.9954 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.7565, allocations: 57.88 kB / 0.9954 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.7566, allocations: 16.66 kB / 0.9954 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.7567, allocations: 9.328 kB / 0.9954 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.7567, allocations: 11.52 kB / 0.9955 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.7568, allocations: 3.344 kB / 0.9955 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.7568, allocations: 5.062 kB / 0.9955 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.757, allocations: 54.17 kB / 0.9955 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.757, allocations: 3.938 kB / 0.9955 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.757, allocations: 7.766 kB / 0.9955 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.7572, allocations: 51.48 kB / 0.9956 GB, free: 10.49 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7572, allocations: 4 kB / 0.9956 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7572, allocations: 1.125 kB / 0.9956 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7573, allocations: 0 / 0.9956 GB, free: 10.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003947/0.7577, allocations: 336 kB / 0.9959 GB, free: 10.12 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.7577, allocations: 7.469 kB / 0.9959 GB, free: 10.12 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.758, allocations: 19.97 kB / 0.9959 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.7581, allocations: 165.6 kB / 0.9961 GB, free: 9.914 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.7581, allocations: 9.469 kB / 0.9961 GB, free: 9.906 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.7581, allocations: 1.656 kB / 0.9961 GB, free: 9.906 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.7582, allocations: 44.69 kB / 0.9961 GB, free: 9.863 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.7583, allocations: 0 / 0.9961 GB, free: 9.863 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.7583, allocations: 5 kB / 0.9961 GB, free: 9.859 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.7583, allocations: 0 / 0.9961 GB, free: 9.859 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.7584, allocations: 25.27 kB / 0.9962 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.7585, allocations: 154.5 kB / 0.9963 GB, free: 9.648 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.7604, allocations: 265 kB / 0.9966 GB, free: 9.551 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.7604, allocations: 21.42 kB / 0.9966 GB, free: 9.535 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.7605, allocations: 3.938 kB / 0.9966 GB, free: 9.531 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.7605, allocations: 35.94 kB / 0.9966 GB, free: 9.488 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.7605, allocations: 0 / 0.9966 GB, free: 9.488 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.7607, allocations: 65.75 kB / 0.9967 GB, free: 9.438 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.7607, allocations: 51.41 kB / 0.9967 GB, free: 9.375 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.7608, allocations: 95.16 kB / 0.9968 GB, free: 9.273 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.7608, allocations: 30.77 kB / 0.9969 GB, free: 9.238 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.7608, allocations: 80.14 kB / 0.9969 GB, free: 9.156 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.7608, allocations: 18.41 kB / 0.997 GB, free: 9.141 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.7609, allocations: 16.34 kB / 0.997 GB, free: 9.121 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.7609, allocations: 316.4 kB / 0.9973 GB, free: 8.805 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.761, allocations: 8.078 kB / 0.9973 GB, free: 8.801 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.761, allocations: 8.719 kB / 0.9973 GB, free: 8.797 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.761, allocations: 24.83 kB / 0.9973 GB, free: 8.781 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.761, allocations: 0 / 0.9973 GB, free: 8.781 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.38e-05/0.7611, allocations: 65.55 kB / 0.9974 GB, free: 8.727 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7611, allocations: 6.125 kB / 0.9974 GB, free: 8.727 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7612, allocations: 4 kB / 0.9974 GB, free: 8.723 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7612, allocations: 1.5 kB / 0.9974 GB, free: 8.723 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.7612, allocations: 5.312 kB / 0.9974 GB, free: 8.723 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.7613, allocations: 3.984 kB / 0.9974 GB, free: 8.719 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.7613, allocations: 0.9062 kB / 0.9974 GB, free: 8.719 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.7613, allocations: 1.688 kB / 0.9974 GB, free: 8.719 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.118e-05/0.7614, allocations: 111.4 kB / 0.9975 GB, free: 8.602 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.7614, allocations: 5 kB / 0.9975 GB, free: 8.598 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.7614, allocations: 7.5 kB / 0.9975 GB, free: 8.586 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7614, allocations: 5.188 kB / 0.9975 GB, free: 8.582 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7614, allocations: 0 / 0.9975 GB, free: 8.582 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.7615, allocations: 86.2 kB / 0.9976 GB, free: 8.48 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.7615, allocations: 1.219 kB / 0.9976 GB, free: 8.48 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.7616, allocations: 1.156 kB / 0.9976 GB, free: 8.48 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.7616, allocations: 5.125 kB / 0.9976 GB, free: 8.477 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001122/0.7617, allocations: 135.7 kB / 0.9977 GB, free: 8.352 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001221/0.7618, allocations: 226.9 kB / 0.998 GB, free: 8.129 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.179e-05/0.7619, allocations: 14.91 kB / 0.998 GB, free: 8.121 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.7619, allocations: 76.47 kB / 0.998 GB, free: 8.047 MB / 0.6857 GB Notification: Performance of Backend: time 1.9e-07/0.7619, allocations: 3.938 kB / 0.998 GB, free: 8.043 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004792/0.7624, allocations: 123.1 kB / 0.9982 GB, free: 7.949 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004033/0.7628, allocations: 0.5493 MB / 0.9987 GB, free: 7.371 MB / 0.6857 GB Notification: Performance of Templates: time 0.003367/0.7662, allocations: 0.7465 MB / 0.9994 GB, free: 6.977 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)