Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Actuators.Valves.Examples.MixingValveBackwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection") translateModel(AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001328/0.001328, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.0009671/0.0009671, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.197/1.197, allocations: 222.9 MB / 241.1 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.05354/0.05354, allocations: 12.03 MB / 303.2 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004681/0.0004681, allocations: 19.92 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.736/1.736, allocations: 272.3 MB / 0.6657 GB, free: 18.41 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001826, allocations: 115.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4529, allocations: 109.1 MB / 1 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection): time 0.03003/0.483, allocations: 35.09 MB / 1.034 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.4968, allocations: 10.08 MB / 1.044 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.4979, allocations: 27.81 kB / 1.044 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4992, allocations: 413.1 kB / 1.045 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.5017, allocations: 1.003 MB / 1.046 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005704/0.5075, allocations: 2.355 MB / 1.048 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.5098, allocations: 1.943 MB / 1.05 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.511, allocations: 0.7751 MB / 1.051 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.513, allocations: 1.02 MB / 1.052 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009572/0.514, allocations: 0.6536 MB / 1.052 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.5141, allocations: 83.98 kB / 1.052 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.5158, allocations: 0.7723 MB / 1.053 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.5161, allocations: 215.2 kB / 1.053 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005682/0.5166, allocations: 449.9 kB / 1.054 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.5189, allocations: 1.558 MB / 1.055 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5189, allocations: 0 / 1.055 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5189, allocations: 0 / 1.055 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.35e-05/0.519, allocations: 0 / 1.055 GB, free: 7.984 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.002097/0.5211, allocations: 1.18 MB / 1.056 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5211, allocations: 8.031 kB / 1.056 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.5214, allocations: 87.91 kB / 1.056 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5225, allocations: 0.6442 MB / 1.057 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.5225, allocations: 37.31 kB / 1.057 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5226, allocations: 63.91 kB / 1.057 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.5238, allocations: 0.6409 MB / 1.058 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5238, allocations: 7.938 kB / 1.058 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.5239, allocations: 20 kB / 1.058 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.5239, allocations: 12 kB / 1.058 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5249, allocations: 0.5595 MB / 1.058 GB, free: 4.613 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.003042/0.528, allocations: 2.219 MB / 1.061 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/0.5288, allocations: 485.4 kB / 1.061 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.5292, allocations: 258 kB / 1.061 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00259/0.5318, allocations: 2.695 MB / 1.064 GB, free: 14.41 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5318, allocations: 42.88 kB / 1.064 GB, free: 14.36 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002761/0.5321, allocations: 71.45 kB / 1.064 GB, free: 14.29 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=46): time 2.735e-06/0.5321, allocations: 0 / 1.064 GB, free: 14.29 MB / 0.7482 GB Notification: Performance of matching and sorting (n=46): time 0.001407/0.5335, allocations: 0.7341 MB / 1.065 GB, free: 13.55 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.5336, allocations: 140.5 kB / 1.065 GB, free: 13.38 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006581/0.5343, allocations: 0.5707 MB / 1.065 GB, free: 12.8 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.5343, allocations: 33.7 kB / 1.065 GB, free: 12.76 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.5346, allocations: 332.9 kB / 1.066 GB, free: 12.43 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.5347, allocations: 165.6 kB / 1.066 GB, free: 12.27 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.5349, allocations: 114.2 kB / 1.066 GB, free: 12.15 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.535, allocations: 374.8 kB / 1.066 GB, free: 11.77 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.5354, allocations: 217 kB / 1.067 GB, free: 11.56 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.5359, allocations: 303.1 kB / 1.067 GB, free: 11.25 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.5367, allocations: 489.1 kB / 1.067 GB, free: 10.77 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5367, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.7482 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0011/0.5378, allocations: 0.6386 MB / 1.068 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5378, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5378, allocations: 8 kB / 1.068 GB, free: 10.11 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5379, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.5383, allocations: 119.8 kB / 1.068 GB, free: 9.988 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5383, allocations: 4 kB / 1.068 GB, free: 9.984 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.5387, allocations: 24.05 kB / 1.068 GB, free: 9.961 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.5388, allocations: 31.97 kB / 1.068 GB, free: 9.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.0002502/0.539, allocations: 193.8 kB / 1.068 GB, free: 9.73 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5391, allocations: 71.09 kB / 1.068 GB, free: 9.66 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.5413, allocations: 1.321 MB / 1.07 GB, free: 8.387 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5414, allocations: 3.984 kB / 1.07 GB, free: 8.383 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.5414, allocations: 0 / 1.07 GB, free: 8.383 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.5417, allocations: 255.7 kB / 1.07 GB, free: 8.113 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.5418, allocations: 12 kB / 1.07 GB, free: 8.102 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.5421, allocations: 23.98 kB / 1.07 GB, free: 8.078 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.5422, allocations: 52.52 kB / 1.07 GB, free: 8.027 MB / 0.7482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00165/0.5439, allocations: 0.9991 MB / 1.071 GB, free: 7.027 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001998/0.5459, allocations: 1.528 MB / 1.073 GB, free: 5.484 MB / 0.7482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005504/0.5464, allocations: 425.3 kB / 1.073 GB, free: 5.07 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.000495/0.5469, allocations: 411.1 kB / 1.073 GB, free: 4.672 MB / 0.7482 GB Notification: Performance of Backend: time 5.11e-07/0.547, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.5488, allocations: 0.742 MB / 1.074 GB, free: 3.934 MB / 0.7482 GB Notification: Performance of SimCode: time 0.003021/0.5518, allocations: 2.1 MB / 1.076 GB, free: 1.793 MB / 0.7482 GB Notification: Performance of Templates: time 0.02771/0.5796, allocations: 18.29 MB / 1.094 GB, free: 15.79 MB / 0.7794 GB make -j1 -f AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.makefile (rm -f AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe >> ../files/AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.sim & ./AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection.pipe 2>&1)