Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.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.MixingValveBackwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection") translateModel(AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 113.6 kB / 16.42 MB, free: 6.473 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.00108/0.00108, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.168/1.168, allocations: 222.9 MB / 241 MB, free: 15.16 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.05218/0.05218, 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.0004978/0.0004978, allocations: 23.97 kB / 356.3 MB, free: 13.97 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.352/1.352, allocations: 268.2 MB / 0.6617 GB, free: 2.633 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 115.8 kB / 0.888 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4252, allocations: 108.4 MB / 0.9938 GB, free: 11.84 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection): time 0.02657/0.4518, allocations: 35.1 MB / 1.028 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.4637, allocations: 10.07 MB / 1.038 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008571/0.4645, allocations: 27.66 kB / 1.038 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.4657, allocations: 420.5 kB / 1.038 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.4679, allocations: 1.009 MB / 1.039 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.4733, allocations: 2.342 MB / 1.042 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.4755, allocations: 1.946 MB / 1.044 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.4765, allocations: 0.783 MB / 1.044 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4784, allocations: 1.023 MB / 1.045 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009308/0.4794, allocations: 0.6458 MB / 1.046 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.4796, allocations: 76 kB / 1.046 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.4811, allocations: 0.7839 MB / 1.047 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.4814, allocations: 211.3 kB / 1.047 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.4819, allocations: 449.9 kB / 1.047 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.484, allocations: 1.554 MB / 1.049 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.484, allocations: 0 / 1.049 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.484, allocations: 3.938 kB / 1.049 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.4841, allocations: 0 / 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.001984/0.486, allocations: 1.188 MB / 1.05 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4861, allocations: 8.031 kB / 1.05 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.4863, allocations: 91.91 kB / 1.05 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.4874, allocations: 0.6363 MB / 1.051 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.4874, allocations: 45.31 kB / 1.051 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.4875, allocations: 55.91 kB / 1.051 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.4886, allocations: 0.6448 MB / 1.052 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4886, allocations: 0 / 1.052 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.4886, allocations: 20 kB / 1.052 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.4887, allocations: 19.94 kB / 1.052 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/0.4896, allocations: 0.5673 MB / 1.052 GB, free: 10.48 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.002806/0.4925, allocations: 2.207 MB / 1.054 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/0.4932, allocations: 479 kB / 1.055 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.4936, allocations: 262 kB / 1.055 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/0.496, allocations: 2.7 MB / 1.058 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.496, allocations: 42.88 kB / 1.058 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002539/0.4963, allocations: 67.5 kB / 1.058 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=46): time 3.607e-06/0.4963, allocations: 7.984 kB / 1.058 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46): time 0.001311/0.4976, allocations: 0.7341 MB / 1.058 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.4977, allocations: 136.5 kB / 1.059 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.4983, allocations: 0.5668 MB / 1.059 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.4984, allocations: 37.7 kB / 1.059 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.4986, allocations: 328.9 kB / 1.059 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.4987, allocations: 169.6 kB / 1.06 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.4988, allocations: 114.2 kB / 1.06 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.499, allocations: 382.8 kB / 1.06 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.4994, allocations: 209 kB / 1.06 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.4998, allocations: 295.2 kB / 1.061 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.5006, allocations: 0.4893 MB / 1.061 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5006, allocations: 0 / 1.061 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001035/0.5016, allocations: 0.6309 MB / 1.062 GB, free: 15.99 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5016, allocations: 8 kB / 1.062 GB, free: 15.98 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5016, allocations: 4.062 kB / 1.062 GB, free: 15.98 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5017, allocations: 4 kB / 1.062 GB, free: 15.97 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.5021, allocations: 119.8 kB / 1.062 GB, free: 15.86 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5021, allocations: 96 / 1.062 GB, free: 15.86 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.5024, allocations: 27.92 kB / 1.062 GB, free: 15.83 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.5025, allocations: 27.97 kB / 1.062 GB, free: 15.8 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.0002317/0.5027, allocations: 205.7 kB / 1.062 GB, free: 15.59 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5029, allocations: 75.09 kB / 1.062 GB, free: 15.52 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.5049, allocations: 1.321 MB / 1.063 GB, free: 14.25 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5049, allocations: 3.984 kB / 1.063 GB, free: 14.25 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5049, allocations: 4 kB / 1.063 GB, free: 14.25 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.5052, allocations: 247.7 kB / 1.064 GB, free: 13.98 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5053, allocations: 19.98 kB / 1.064 GB, free: 13.96 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.5056, allocations: 16 kB / 1.064 GB, free: 13.95 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.5057, allocations: 56.52 kB / 1.064 GB, free: 13.89 MB / 0.7482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001552/0.5073, allocations: 0.9874 MB / 1.065 GB, free: 12.91 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001892/0.5092, allocations: 1.532 MB / 1.066 GB, free: 11.36 MB / 0.7482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005309/0.5097, allocations: 425.4 kB / 1.067 GB, free: 10.94 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0004448/0.5102, allocations: 415 kB / 1.067 GB, free: 10.54 MB / 0.7482 GB Notification: Performance of Backend: time 3.91e-07/0.5102, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.5118, allocations: 0.7275 MB / 1.068 GB, free: 9.816 MB / 0.7482 GB Notification: Performance of SimCode: time 0.002816/0.5147, allocations: 2.108 MB / 1.07 GB, free: 7.68 MB / 0.7482 GB Notification: Performance of Templates: time 0.02525/0.5399, allocations: 18.28 MB / 1.088 GB, free: 5.676 MB / 0.7638 GB make -j1 -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.makefile (rm -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.sim & ./AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe 2>&1)