Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.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.Actuators.Valves.Examples.MixingValveForwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection") translateModel(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 115.9 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.001538/0.001538, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.05391/0.05391, allocations: 12.06 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004996/0.0004997, allocations: 27.94 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.407/1.407, allocations: 268.2 MB / 0.6617 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 111.8 kB / 0.888 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4407, allocations: 108.4 MB / 0.9938 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection): time 0.02742/0.4682, allocations: 35.09 MB / 1.028 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.4803, allocations: 10.07 MB / 1.038 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007833/0.4811, allocations: 29.22 kB / 1.038 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009522/0.4821, allocations: 415.4 kB / 1.038 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.4839, allocations: 1.006 MB / 1.039 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.4889, allocations: 2.346 MB / 1.042 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.4907, allocations: 1.95 MB / 1.044 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.4915, allocations: 0.7712 MB / 1.044 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.493, allocations: 1.027 MB / 1.045 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.4937, allocations: 0.6535 MB / 1.046 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.91e-05/0.4938, allocations: 76 kB / 1.046 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.495, allocations: 0.7761 MB / 1.047 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.4952, allocations: 211.4 kB / 1.047 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.4955, allocations: 453.9 kB / 1.047 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.4971, allocations: 1.553 MB / 1.049 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4972, allocations: 0 / 1.049 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4972, allocations: 4 kB / 1.049 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.4972, allocations: 3.938 kB / 1.049 GB, free: 13.86 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001631/0.4988, allocations: 1.221 MB / 1.05 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.4989, allocations: 12.03 kB / 1.05 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.499, allocations: 96.38 kB / 1.05 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009047/0.4999, allocations: 0.6407 MB / 1.051 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.5, allocations: 41.31 kB / 1.051 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/0.5001, allocations: 55.98 kB / 1.051 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.5011, allocations: 0.6448 MB / 1.052 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5011, allocations: 3.938 kB / 1.052 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.5012, allocations: 23.98 kB / 1.052 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.5012, allocations: 12 kB / 1.052 GB, free: 11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.5022, allocations: 0.5673 MB / 1.052 GB, free: 10.43 MB / 0.7325 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.002643/0.5048, allocations: 2.192 MB / 1.054 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.5056, allocations: 468.8 kB / 1.055 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.506, allocations: 242 kB / 1.055 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00228/0.5082, allocations: 2.661 MB / 1.058 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.5083, allocations: 42.88 kB / 1.058 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002425/0.5085, allocations: 67.64 kB / 1.058 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=46): time 1.763e-06/0.5085, allocations: 0 / 1.058 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46): time 0.001304/0.5099, allocations: 0.7033 MB / 1.058 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.5099, allocations: 140.5 kB / 1.059 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.5105, allocations: 0.5746 MB / 1.059 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.5106, allocations: 33.69 kB / 1.059 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.5108, allocations: 329.4 kB / 1.059 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5109, allocations: 178.5 kB / 1.06 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.5111, allocations: 114.2 kB / 1.06 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5113, allocations: 374.8 kB / 1.06 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.5116, allocations: 209 kB / 1.06 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.512, allocations: 275.2 kB / 1.061 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.5128, allocations: 473.1 kB / 1.061 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5128, allocations: 8 kB / 1.061 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00101/0.5139, allocations: 0.6078 MB / 1.062 GB, free: 124 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5139, allocations: 8 kB / 1.062 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5139, allocations: 3.984 kB / 1.062 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5139, allocations: 4 kB / 1.062 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.5144, allocations: 115.9 kB / 1.062 GB, free: 15.99 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.5144, allocations: 4 kB / 1.062 GB, free: 15.98 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.5147, allocations: 28.03 kB / 1.062 GB, free: 15.96 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.5148, allocations: 31.97 kB / 1.062 GB, free: 15.93 MB / 0.7482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (57): * Single equations (assignments): 55 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002315/0.515, allocations: 197.7 kB / 1.062 GB, free: 15.73 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5151, allocations: 79.47 kB / 1.062 GB, free: 15.65 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.5172, allocations: 1.292 MB / 1.063 GB, free: 14.41 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5172, allocations: 3.984 kB / 1.063 GB, free: 14.41 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5172, allocations: 0 / 1.063 GB, free: 14.41 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.5174, allocations: 256.3 kB / 1.064 GB, free: 14.14 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/0.5175, allocations: 12 kB / 1.064 GB, free: 14.12 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.5178, allocations: 23.98 kB / 1.064 GB, free: 14.1 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.5179, allocations: 56.47 kB / 1.064 GB, free: 14.05 MB / 0.7482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001512/0.5194, allocations: 0.9719 MB / 1.065 GB, free: 13.07 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002181/0.5216, allocations: 1.502 MB / 1.066 GB, free: 11.56 MB / 0.7482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005203/0.5222, allocations: 413.4 kB / 1.066 GB, free: 11.15 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0004497/0.5226, allocations: 411 kB / 1.067 GB, free: 10.75 MB / 0.7482 GB Notification: Performance of Backend: time 4.5e-07/0.5226, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.5243, allocations: 0.7263 MB / 1.068 GB, free: 10.04 MB / 0.7482 GB Notification: Performance of SimCode: time 0.002709/0.527, allocations: 2.115 MB / 1.07 GB, free: 7.887 MB / 0.7482 GB Notification: Performance of Templates: time 0.02628/0.5533, allocations: 18.15 MB / 1.087 GB, free: 6.027 MB / 0.7638 GB make -j1 -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.makefile (rm -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.sim & ./AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe 2>&1)