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.001089/0.001088, allocations: 112.7 kB / 16.42 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.001124/0.001124, allocations: 190.7 kB / 17.35 MB, free: 5.738 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 MB, free: 15.15 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.05664/0.05664, allocations: 12.05 MB / 303.2 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004833/0.0004835, allocations: 27.42 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.526/1.526, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 119.8 kB / 0.888 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5471, allocations: 108.4 MB / 0.9938 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1818/0.7289, allocations: 169.4 MB / 1.159 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009013/0.738, allocations: 7.138 MB / 1.166 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.7385, allocations: 11.94 kB / 1.166 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.7392, allocations: 170.7 kB / 1.166 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.7426, allocations: 1.307 MB / 1.168 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.7442, allocations: 0.6342 MB / 1.168 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.7453, allocations: 0.7641 MB / 1.169 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/0.7458, allocations: 301.8 kB / 1.169 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.7471, allocations: 0.5877 MB / 1.17 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.7479, allocations: 414.5 kB / 1.17 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.632e-05/0.748, allocations: 32 kB / 1.17 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.7502, allocations: 1.251 MB / 1.172 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.7503, allocations: 119.7 kB / 1.172 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.7506, allocations: 183.1 kB / 1.172 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.7522, allocations: 0.9038 MB / 1.173 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7522, allocations: 0 / 1.173 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7523, allocations: 0 / 1.173 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.7523, allocations: 0 / 1.173 GB, free: 14.5 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.00117/0.7534, allocations: 0.6974 MB / 1.173 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7535, allocations: 8.031 kB / 1.173 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.7546, allocations: 131.3 kB / 1.174 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.7552, allocations: 337.1 kB / 1.174 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/0.7553, allocations: 62.25 kB / 1.174 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.7553, allocations: 24 kB / 1.174 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.7561, allocations: 362.1 kB / 1.174 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.7561, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.7561, allocations: 12 kB / 1.174 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.7561, allocations: 15.94 kB / 1.174 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.7567, allocations: 270 kB / 1.175 GB, free: 12.5 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.002014/0.7587, allocations: 1.492 MB / 1.176 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.7592, allocations: 202.5 kB / 1.176 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.7594, allocations: 112.8 kB / 1.176 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.7603, allocations: 0.5092 MB / 1.177 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.7604, allocations: 30.56 kB / 1.177 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.7604, allocations: 3.938 kB / 1.177 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0009601/0.7614, allocations: 363.1 kB / 1.177 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.7614, allocations: 51.41 kB / 1.177 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.7617, allocations: 320.5 kB / 1.178 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.7618, allocations: 29.7 kB / 1.178 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.7619, allocations: 188 kB / 1.178 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.7619, allocations: 47.34 kB / 1.178 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.762, allocations: 41.7 kB / 1.178 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7621, allocations: 346.8 kB / 1.178 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.7623, allocations: 87.92 kB / 1.178 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.7626, allocations: 141.9 kB / 1.178 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.763, allocations: 245.4 kB / 1.179 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.763, allocations: 0 / 1.179 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005981/0.7636, allocations: 289 kB / 1.179 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7636, allocations: 4 kB / 1.179 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7637, allocations: 4 kB / 1.179 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7637, allocations: 0 / 1.179 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.7639, allocations: 43.91 kB / 1.179 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7639, allocations: 4 kB / 1.179 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.7642, allocations: 39.86 kB / 1.179 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.7642, allocations: 8 kB / 1.179 GB, free: 7.605 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.0001495/0.7643, allocations: 153.7 kB / 1.179 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.7645, allocations: 31.62 kB / 1.179 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.7652, allocations: 311.2 kB / 1.18 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.7652, allocations: 4 kB / 1.18 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.7652, allocations: 7.984 kB / 1.18 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.7653, allocations: 128.6 kB / 1.18 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.7654, allocations: 7.938 kB / 1.18 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.7656, allocations: 15.92 kB / 1.18 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.7657, allocations: 15.98 kB / 1.18 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005697/0.7663, allocations: 318.7 kB / 1.18 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005855/0.7669, allocations: 422.3 kB / 1.18 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002003/0.7671, allocations: 101.9 kB / 1.181 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002026/0.7673, allocations: 231 kB / 1.181 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of Backend: time 1.863e-06/0.7673, allocations: 0 / 1.181 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.7687, allocations: 472.6 kB / 1.181 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001371/0.7701, allocations: 1.053 MB / 1.182 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of Templates: time 0.01556/0.7857, allocations: 9.671 MB / 1.192 GB, free: 10.71 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)