Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.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.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity") translateModel(AixLib.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001643/0.001643, allocations: 188.3 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.342/1.342, 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.05871/0.05871, 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.0005297/0.0005296, allocations: 23.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.885/1.885, allocations: 272.3 MB / 0.6657 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002223, allocations: 111.8 kB / 0.8935 GB, free: 15.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.516, allocations: 109.2 MB / 1 GB, free: 8.152 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.Velocity): time 0.182/0.6981, allocations: 167.4 MB / 1.164 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.7012, allocations: 1.572 MB / 1.165 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.7017, allocations: 7.938 kB / 1.165 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.7024, allocations: 146.9 kB / 1.165 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.7048, allocations: 0.7156 MB / 1.166 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.7066, allocations: 0.5986 MB / 1.167 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009462/0.7075, allocations: 0.7216 MB / 1.167 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.7079, allocations: 229.1 kB / 1.168 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006472/0.7086, allocations: 346.7 kB / 1.168 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.7088, allocations: 227 kB / 1.168 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.7089, allocations: 24 kB / 1.168 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.7103, allocations: 0.8689 MB / 1.169 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.7105, allocations: 107.7 kB / 1.169 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.7106, allocations: 171.1 kB / 1.169 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009839/0.7116, allocations: 0.7432 MB / 1.17 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7116, allocations: 0 / 1.17 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7117, allocations: 0 / 1.17 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.7117, allocations: 0 / 1.17 GB, free: 2.047 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000922/0.7126, allocations: 0.666 MB / 1.171 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7126, allocations: 11.97 kB / 1.171 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.7138, allocations: 159.4 kB / 1.171 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.7143, allocations: 322.6 kB / 1.171 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.7143, allocations: 16.56 kB / 1.171 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.7144, allocations: 24 kB / 1.171 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.7149, allocations: 289.8 kB / 1.171 GB, free: 480 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.7149, allocations: 3.984 kB / 1.171 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.7149, allocations: 8 kB / 1.171 GB, free: 468 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7149, allocations: 8 kB / 1.171 GB, free: 460 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.7154, allocations: 204.9 kB / 1.172 GB, free: 256 kB / 0.8419 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.001441/0.7168, allocations: 1.234 MB / 1.173 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.7171, allocations: 150.4 kB / 1.173 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.7173, allocations: 92.8 kB / 1.173 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.7179, allocations: 307.2 kB / 1.173 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.7179, allocations: 30.56 kB / 1.173 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.784e-06/0.7179, allocations: 4 kB / 1.173 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0007713/0.7187, allocations: 291.5 kB / 1.174 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.7187, allocations: 55.41 kB / 1.174 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.7191, allocations: 324.5 kB / 1.174 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.7191, allocations: 29.7 kB / 1.174 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.7192, allocations: 180.2 kB / 1.174 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.7193, allocations: 59.11 kB / 1.174 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.7194, allocations: 45.7 kB / 1.174 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7195, allocations: 358.6 kB / 1.175 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.7197, allocations: 63.95 kB / 1.175 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.7199, allocations: 121.1 kB / 1.175 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.7202, allocations: 200.9 kB / 1.175 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7202, allocations: 4 kB / 1.175 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000462/0.7207, allocations: 255.1 kB / 1.175 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7207, allocations: 12 kB / 1.175 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7207, allocations: 0 / 1.175 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.7208, allocations: 4 kB / 1.175 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.721, allocations: 43.91 kB / 1.175 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.721, allocations: 4 kB / 1.175 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.7212, allocations: 39.67 kB / 1.175 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.7212, allocations: 12 kB / 1.175 GB, free: 12.11 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 (24): * Single equations (assignments): 24 * 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.000136/0.7214, allocations: 150.3 kB / 1.175 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.7215, allocations: 31.62 kB / 1.176 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.7219, allocations: 238.8 kB / 1.176 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.7219, allocations: 0 / 1.176 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7219, allocations: 0 / 1.176 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7221, allocations: 112.8 kB / 1.176 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.7221, allocations: 7.984 kB / 1.176 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.7223, allocations: 11.94 kB / 1.176 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.7223, allocations: 15.98 kB / 1.176 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005025/0.7228, allocations: 280.7 kB / 1.176 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006297/0.7235, allocations: 484.1 kB / 1.177 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001643/0.7237, allocations: 75.97 kB / 1.177 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002084/0.7239, allocations: 231 kB / 1.177 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of Backend: time 4.91e-07/0.7239, allocations: 0 / 1.177 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.7251, allocations: 397.1 kB / 1.177 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001513/0.7266, allocations: 1.133 MB / 1.178 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of Templates: time 0.01344/0.74, allocations: 8.026 MB / 1.186 GB, free: 0.9609 MB / 0.8575 GB make -j1 -f AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.makefile (rm -f AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.sim & ./AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe 2>&1)