Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001624/0.001624, allocations: 109 kB / 16.41 MB, free: 6.512 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.00182/0.00182, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.323/1.323, 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.05779/0.05779, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004749/0.0004749, allocations: 27.95 kB / 356.3 MB, free: 13.98 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.506/1.506, allocations: 268.2 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 108.3 kB / 0.888 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5126, allocations: 108.4 MB / 0.9938 GB, free: 11.86 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1916/0.7042, allocations: 194 MB / 1.183 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009992/0.7142, allocations: 6.919 MB / 1.19 GB, free: 12.71 MB / 0.8732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007251/0.715, allocations: 47.69 kB / 1.19 GB, free: 12.67 MB / 0.8732 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.7165, allocations: 0.7026 MB / 1.191 GB, free: 11.96 MB / 0.8732 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.7211, allocations: 2.439 MB / 1.193 GB, free: 9.512 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.7239, allocations: 1.439 MB / 1.195 GB, free: 8.102 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.7269, allocations: 2.992 MB / 1.198 GB, free: 5.102 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.7281, allocations: 0.8986 MB / 1.198 GB, free: 4.191 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.7305, allocations: 1.156 MB / 1.2 GB, free: 3.035 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.7318, allocations: 0.7912 MB / 1.2 GB, free: 2.246 MB / 0.8732 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.7321, allocations: 96 kB / 1.2 GB, free: 2.152 MB / 0.8732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.7356, allocations: 2.062 MB / 1.202 GB, free: 88 kB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.0004047/0.736, allocations: 378.8 kB / 1.203 GB, free: 15.71 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.7367, allocations: 0.5792 MB / 1.203 GB, free: 15.13 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.7401, allocations: 2.423 MB / 1.206 GB, free: 12.7 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7401, allocations: 0 / 1.206 GB, free: 12.7 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7401, allocations: 0 / 1.206 GB, free: 12.7 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 3.301e-05/0.7401, allocations: 0 / 1.206 GB, free: 12.7 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.003586/0.7437, allocations: 1.629 MB / 1.207 GB, free: 11.02 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7438, allocations: 8.031 kB / 1.207 GB, free: 11.01 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.7468, allocations: 0.537 MB / 1.208 GB, free: 10.47 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.7492, allocations: 1.041 MB / 1.209 GB, free: 9.387 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.7492, allocations: 61.3 kB / 1.209 GB, free: 9.328 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.7494, allocations: 71.98 kB / 1.209 GB, free: 9.258 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.7518, allocations: 1.101 MB / 1.21 GB, free: 8.129 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.7518, allocations: 4 kB / 1.21 GB, free: 8.125 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.7519, allocations: 28 kB / 1.21 GB, free: 8.098 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.752, allocations: 41.28 kB / 1.21 GB, free: 8.059 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.7552, allocations: 1.164 MB / 1.211 GB, free: 6.891 MB / 0.8888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005652/0.7609, allocations: 3.17 MB / 1.214 GB, free: 3.641 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.7626, allocations: 0.6802 MB / 1.215 GB, free: 2.953 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.7634, allocations: 422.2 kB / 1.215 GB, free: 2.539 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008603/0.7643, allocations: 1.025 MB / 1.216 GB, free: 1.293 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.7653, allocations: 0.522 MB / 1.217 GB, free: 0.7383 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=57): time 2.745e-06/0.7654, allocations: 0 / 1.217 GB, free: 0.7383 MB / 0.8888 GB Notification: Performance of matching and sorting (n=57): time 0.002976/0.7683, allocations: 1.217 MB / 1.218 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.7684, allocations: 136.9 kB / 1.218 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.7702, allocations: 1.184 MB / 1.219 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.7703, allocations: 33.7 kB / 1.219 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.7707, allocations: 437.5 kB / 1.22 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.7709, allocations: 189.2 kB / 1.22 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.7712, allocations: 150 kB / 1.22 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7713, allocations: 330 kB / 1.22 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.7725, allocations: 440.9 kB / 1.221 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.7739, allocations: 0.5937 MB / 1.221 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.776, allocations: 0.9262 MB / 1.222 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.776, allocations: 0 / 1.222 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003043/0.7791, allocations: 1.198 MB / 1.224 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.7792, allocations: 39.72 kB / 1.224 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7792, allocations: 4.094 kB / 1.224 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.7792, allocations: 15.92 kB / 1.224 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000969/0.7802, allocations: 188 kB / 1.224 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.7802, allocations: 8 kB / 1.224 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.7816, allocations: 242.9 kB / 1.224 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.7817, allocations: 35.97 kB / 1.224 GB, free: 9.219 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.0004266/0.7822, allocations: 327.8 kB / 1.224 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.7824, allocations: 118.5 kB / 1.224 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.7845, allocations: 1.001 MB / 1.225 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.7845, allocations: 7.922 kB / 1.225 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7845, allocations: 0 / 1.225 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.785, allocations: 319.3 kB / 1.226 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.7852, allocations: 12 kB / 1.226 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/0.7862, allocations: 103.9 kB / 1.226 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.7863, allocations: 32.39 kB / 1.226 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00223/0.7885, allocations: 1.201 MB / 1.227 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001988/0.7905, allocations: 1.299 MB / 1.228 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008127/0.7913, allocations: 411.4 kB / 1.229 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001401/0.7927, allocations: 0.8482 MB / 1.23 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of Backend: time 3.7e-07/0.7927, allocations: 0 / 1.23 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003358/0.7961, allocations: 1.202 MB / 1.231 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of SimCode: time 0.003536/0.7997, allocations: 2.319 MB / 1.233 GB, free: 15.9 MB / 0.92 GB Notification: Performance of Templates: time 0.03857/0.8382, allocations: 26.73 MB / 1.259 GB, free: 5.434 MB / 0.9357 GB make -j1 -f AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)