Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(AixLib.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 115 kB / 16.42 MB, free: 6.48 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.00106/0.00106, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.242/1.242, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.05371/0.05371, allocations: 12.05 MB / 303.3 MB, free: 3.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004661/0.0004661, allocations: 27.95 kB / 356.3 MB, free: 14.01 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.405/1.405, allocations: 268.2 MB / 0.6617 GB, free: 2.645 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 111.8 kB / 0.888 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4914, allocations: 108.4 MB / 0.9938 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1618/0.6532, allocations: 169.4 MB / 1.159 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007388/0.6606, allocations: 7.122 MB / 1.166 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.661, allocations: 11.94 kB / 1.166 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.6615, allocations: 182.6 kB / 1.166 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.6642, allocations: 1.311 MB / 1.168 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.6656, allocations: 0.6402 MB / 1.168 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.6663, allocations: 0.7602 MB / 1.169 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.6667, allocations: 298.1 kB / 1.169 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009714/0.6677, allocations: 0.5877 MB / 1.17 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006963/0.6684, allocations: 426.5 kB / 1.17 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.6684, allocations: 28 kB / 1.17 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.6703, allocations: 1.247 MB / 1.172 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.6704, allocations: 115.7 kB / 1.172 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.6706, allocations: 183.1 kB / 1.172 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.6718, allocations: 0.9112 MB / 1.173 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6718, allocations: 0 / 1.173 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6718, allocations: 0 / 1.173 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.6718, allocations: 4 kB / 1.173 GB, free: 9.352 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008774/0.6727, allocations: 0.7042 MB / 1.173 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6728, allocations: 8.031 kB / 1.173 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009407/0.6737, allocations: 135.6 kB / 1.174 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.6742, allocations: 349.3 kB / 1.174 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/0.6743, allocations: 50.27 kB / 1.174 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.6743, allocations: 28 kB / 1.174 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.6749, allocations: 370.1 kB / 1.174 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6749, allocations: 0 / 1.174 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.675, allocations: 12 kB / 1.174 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.675, allocations: 7.938 kB / 1.174 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.6755, allocations: 270 kB / 1.175 GB, free: 7.328 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.001681/0.6772, allocations: 1.496 MB / 1.176 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.6775, allocations: 194.6 kB / 1.176 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.6778, allocations: 112.8 kB / 1.176 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009051/0.6787, allocations: 0.5131 MB / 1.177 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6787, allocations: 34.5 kB / 1.177 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.6787, allocations: 0 / 1.177 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0008898/0.6796, allocations: 363 kB / 1.177 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.6797, allocations: 51.41 kB / 1.177 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.68, allocations: 320.5 kB / 1.178 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.68, allocations: 25.7 kB / 1.178 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.6801, allocations: 192.2 kB / 1.178 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.6802, allocations: 47.59 kB / 1.178 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.6802, allocations: 45.7 kB / 1.178 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6804, allocations: 342.7 kB / 1.178 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.6806, allocations: 87.94 kB / 1.178 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.6808, allocations: 151.8 kB / 1.178 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.6812, allocations: 237.8 kB / 1.179 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6812, allocations: 0 / 1.179 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005591/0.6818, allocations: 285.2 kB / 1.179 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6818, allocations: 4 kB / 1.179 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6818, allocations: 3.938 kB / 1.179 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6818, allocations: 4.188 kB / 1.179 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.682, allocations: 43.97 kB / 1.179 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6821, allocations: 4 kB / 1.179 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.6823, allocations: 31.77 kB / 1.179 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.6823, allocations: 16 kB / 1.179 GB, free: 2.434 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001402/0.6825, allocations: 157.7 kB / 1.179 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.6826, allocations: 31.81 kB / 1.179 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006668/0.6832, allocations: 318.9 kB / 1.18 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6832, allocations: 0 / 1.18 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6832, allocations: 0 / 1.18 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6834, allocations: 132.8 kB / 1.18 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.6834, allocations: 11.92 kB / 1.18 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.6836, allocations: 11.98 kB / 1.18 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.6837, allocations: 11.98 kB / 1.18 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005506/0.6843, allocations: 324.7 kB / 1.18 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005629/0.6848, allocations: 426.4 kB / 1.18 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001895/0.685, allocations: 101.6 kB / 1.181 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000198/0.6852, allocations: 235 kB / 1.181 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of Backend: time 4.31e-07/0.6852, allocations: 0 / 1.181 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.6865, allocations: 466.6 kB / 1.181 GB, free: 208 kB / 0.8575 GB Notification: Performance of SimCode: time 0.00134/0.6879, allocations: 1.067 MB / 1.182 GB, free: 15.09 MB / 0.8732 GB Notification: Performance of Templates: time 0.0141/0.702, allocations: 9.671 MB / 1.192 GB, free: 5.512 MB / 0.8732 GB make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)