Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.001203/0.001203, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.1 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.05776/0.05776, allocations: 12.06 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005115/0.0005115, allocations: 23.92 kB / 356.3 MB, free: 13.96 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.549/1.549, allocations: 268.2 MB / 0.6617 GB, free: 2.641 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003172/0.003172, allocations: 115.8 kB / 0.888 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.5707, allocations: 108.4 MB / 0.9938 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1705/0.7412, allocations: 167.5 MB / 1.157 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007928/0.7491, allocations: 6.538 MB / 1.164 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.7497, allocations: 11.94 kB / 1.164 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.7503, allocations: 174.7 kB / 1.164 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.7525, allocations: 0.8791 MB / 1.165 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.7535, allocations: 326.6 kB / 1.165 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009329/0.7545, allocations: 0.7096 MB / 1.166 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.755, allocations: 297.9 kB / 1.166 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.7563, allocations: 0.5642 MB / 1.167 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.7568, allocations: 271 kB / 1.167 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.7569, allocations: 24 kB / 1.167 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.7576, allocations: 347.2 kB / 1.167 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.7577, allocations: 103.7 kB / 1.167 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.7579, allocations: 167.1 kB / 1.168 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.7586, allocations: 478.5 kB / 1.168 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7587, allocations: 3.984 kB / 1.168 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7587, allocations: 0 / 1.168 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.7587, allocations: 0 / 1.168 GB, free: 14.05 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009271/0.7596, allocations: 0.6156 MB / 1.169 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7597, allocations: 8.031 kB / 1.169 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.76, allocations: 67.52 kB / 1.169 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.7605, allocations: 321.2 kB / 1.169 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.7606, allocations: 16.56 kB / 1.169 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.7606, allocations: 35.94 kB / 1.169 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.7612, allocations: 319.6 kB / 1.169 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.7612, allocations: 0 / 1.169 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.7612, allocations: 12 kB / 1.169 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7612, allocations: 15.92 kB / 1.169 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.7617, allocations: 201.5 kB / 1.17 GB, free: 12.35 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.7632, allocations: 1.53 MB / 1.171 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.7635, allocations: 118.5 kB / 1.171 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.7637, allocations: 88.81 kB / 1.171 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.7643, allocations: 307.2 kB / 1.172 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7643, allocations: 30.56 kB / 1.172 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.7643, allocations: 0 / 1.172 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007492/0.765, allocations: 277.4 kB / 1.172 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.7651, allocations: 55.41 kB / 1.172 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.7654, allocations: 312.5 kB / 1.172 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.7654, allocations: 29.7 kB / 1.172 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.7656, allocations: 176.2 kB / 1.172 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.7656, allocations: 47.36 kB / 1.172 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.7657, allocations: 29.72 kB / 1.172 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7658, allocations: 346.7 kB / 1.173 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.766, allocations: 67.86 kB / 1.173 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.7662, allocations: 111.6 kB / 1.173 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.7665, allocations: 173 kB / 1.173 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.7665, allocations: 0 / 1.173 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004275/0.767, allocations: 220.8 kB / 1.173 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.767, allocations: 4 kB / 1.173 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.767, allocations: 0 / 1.173 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.767, allocations: 15.86 kB / 1.173 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.7672, allocations: 27.98 kB / 1.173 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.7672, allocations: 4 kB / 1.173 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.7674, allocations: 35.67 kB / 1.173 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.7675, allocations: 4 kB / 1.173 GB, free: 8.086 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001478/0.7676, allocations: 157.8 kB / 1.174 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.7677, allocations: 27.72 kB / 1.174 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.7681, allocations: 204.3 kB / 1.174 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7681, allocations: 0 / 1.174 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7682, allocations: 0 / 1.174 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.7683, allocations: 120.7 kB / 1.174 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.7683, allocations: 3.984 kB / 1.174 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.7685, allocations: 15.94 kB / 1.174 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.7685, allocations: 11.92 kB / 1.174 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004234/0.769, allocations: 264.6 kB / 1.174 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004189/0.7694, allocations: 358.4 kB / 1.175 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001612/0.7696, allocations: 83.88 kB / 1.175 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001972/0.7698, allocations: 223 kB / 1.175 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of Backend: time 4.51e-07/0.7698, allocations: 4 kB / 1.175 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008967/0.7707, allocations: 240.9 kB / 1.175 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001398/0.7721, allocations: 1.049 MB / 1.176 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of Templates: time 0.01111/0.7832, allocations: 5.787 MB / 1.182 GB, free: 15.57 MB / 0.8732 GB make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)