Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001622, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.001812/0.001813, allocations: 188.3 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05716/0.05716, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000769/0.000769, allocations: 27.95 kB / 356.3 MB, free: 13.98 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.849/1.849, allocations: 272.3 MB / 0.6657 GB, free: 18.33 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 112.3 kB / 0.8935 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4807, allocations: 109.2 MB / 1 GB, free: 8.164 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1861/0.6668, allocations: 194 MB / 1.19 GB, free: 13.79 MB / 0.8732 GB Notification: Performance of NFInst.instExpressions: time 0.009839/0.6767, allocations: 6.925 MB / 1.196 GB, free: 6.852 MB / 0.8732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009205/0.6777, allocations: 43.69 kB / 1.196 GB, free: 6.809 MB / 0.8732 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.6792, allocations: 0.683 MB / 1.197 GB, free: 6.121 MB / 0.8732 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.6839, allocations: 2.334 MB / 1.199 GB, free: 3.777 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.6868, allocations: 1.426 MB / 1.201 GB, free: 2.371 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.6899, allocations: 2.994 MB / 1.204 GB, free: 15.37 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.691, allocations: 0.8869 MB / 1.205 GB, free: 14.47 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.6933, allocations: 1.15 MB / 1.206 GB, free: 13.32 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.6944, allocations: 0.8077 MB / 1.206 GB, free: 12.52 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.6945, allocations: 100 kB / 1.207 GB, free: 12.42 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.6978, allocations: 2.062 MB / 1.209 GB, free: 10.35 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.6982, allocations: 358.9 kB / 1.209 GB, free: 10 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.6987, allocations: 0.5831 MB / 1.209 GB, free: 9.414 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.7015, allocations: 2.427 MB / 1.212 GB, free: 6.98 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7015, allocations: 0 / 1.212 GB, free: 6.98 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7015, allocations: 0 / 1.212 GB, free: 6.98 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.7015, allocations: 0 / 1.212 GB, free: 6.98 MB / 0.8888 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003151/0.7047, allocations: 1.629 MB / 1.213 GB, free: 5.293 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.7047, allocations: 8.031 kB / 1.213 GB, free: 5.285 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.7077, allocations: 0.537 MB / 1.214 GB, free: 4.746 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.7099, allocations: 1.042 MB / 1.215 GB, free: 3.66 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.71, allocations: 57.31 kB / 1.215 GB, free: 3.605 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.7101, allocations: 64 kB / 1.215 GB, free: 3.543 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.7124, allocations: 1.112 MB / 1.216 GB, free: 2.398 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.7124, allocations: 0 / 1.216 GB, free: 2.398 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.7125, allocations: 28 kB / 1.216 GB, free: 2.371 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.7126, allocations: 37.19 kB / 1.216 GB, free: 2.336 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/0.7156, allocations: 1.164 MB / 1.217 GB, free: 1.172 MB / 0.8888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/0.7212, allocations: 3.162 MB / 1.22 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.7229, allocations: 0.688 MB / 1.221 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/0.7237, allocations: 422.2 kB / 1.222 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009037/0.7246, allocations: 1.021 MB / 1.223 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009654/0.7256, allocations: 0.5182 MB / 1.223 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=57): time 2.275e-06/0.7256, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57): time 0.002833/0.7285, allocations: 1.221 MB / 1.224 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.7286, allocations: 140.9 kB / 1.224 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.7303, allocations: 1.176 MB / 1.226 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.7304, allocations: 41.7 kB / 1.226 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.7307, allocations: 433.5 kB / 1.226 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.7309, allocations: 193.2 kB / 1.226 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.7311, allocations: 150 kB / 1.226 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7313, allocations: 330 kB / 1.227 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.7325, allocations: 436.9 kB / 1.227 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.7338, allocations: 0.5976 MB / 1.228 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.7358, allocations: 0.9262 MB / 1.229 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7359, allocations: 4 kB / 1.229 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002955/0.7388, allocations: 1.197 MB / 1.23 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.7389, allocations: 41.69 kB / 1.23 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7389, allocations: 4 kB / 1.23 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.7389, allocations: 7.938 kB / 1.23 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009613/0.7399, allocations: 192 kB / 1.23 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.7399, allocations: 8 kB / 1.23 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.7414, allocations: 238.9 kB / 1.23 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.7415, allocations: 35.98 kB / 1.23 GB, free: 3.504 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004485/0.7419, allocations: 330.3 kB / 1.231 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.7421, allocations: 114.6 kB / 1.231 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.7441, allocations: 0.9977 MB / 1.232 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.7442, allocations: 11.92 kB / 1.232 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7442, allocations: 0 / 1.232 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/0.7447, allocations: 323.3 kB / 1.232 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.7448, allocations: 12 kB / 1.232 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000988/0.7458, allocations: 95.84 kB / 1.232 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.7459, allocations: 32.39 kB / 1.232 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002161/0.7481, allocations: 1.205 MB / 1.233 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001953/0.75, allocations: 1.303 MB / 1.235 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007743/0.7508, allocations: 415.5 kB / 1.235 GB, free: 14.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001347/0.7522, allocations: 0.8482 MB / 1.236 GB, free: 13.75 MB / 0.92 GB Notification: Performance of Backend: time 3e-07/0.7522, allocations: 0 / 1.236 GB, free: 13.75 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003242/0.7554, allocations: 1.194 MB / 1.237 GB, free: 12.55 MB / 0.92 GB Notification: Performance of SimCode: time 0.003381/0.7588, allocations: 2.323 MB / 1.239 GB, free: 10.16 MB / 0.92 GB Notification: Performance of Templates: time 0.03932/0.7982, allocations: 26.73 MB / 1.265 GB, free: 15.68 MB / 0.9513 GB make -j1 -f AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)