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.001232/0.001232, allocations: 110.4 kB / 16.42 MB, free: 6.469 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.001128/0.001128, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.07 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.05717/0.05717, allocations: 12.05 MB / 303.3 MB, free: 3.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005003/0.0005003, allocations: 35.94 kB / 356.3 MB, free: 13.95 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.785/1.785, allocations: 272.3 MB / 0.6657 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 119.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4399, allocations: 109.2 MB / 1 GB, free: 8.203 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.MixingValveBackwardDirection): time 0.0324/0.4723, allocations: 35.09 MB / 1.034 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.485, allocations: 10.07 MB / 1.044 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008412/0.4859, allocations: 23.88 kB / 1.044 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4869, allocations: 421.1 kB / 1.045 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.489, allocations: 0.9791 MB / 1.046 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005154/0.4942, allocations: 2.338 MB / 1.048 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.4962, allocations: 1.943 MB / 1.05 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.4972, allocations: 0.7752 MB / 1.051 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.499, allocations: 1.019 MB / 1.052 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.4998, allocations: 0.6575 MB / 1.052 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.5, allocations: 76 kB / 1.052 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.5013, allocations: 0.7762 MB / 1.053 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.5016, allocations: 211.3 kB / 1.053 GB, free: 10 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.5021, allocations: 453.9 kB / 1.054 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.5039, allocations: 1.558 MB / 1.055 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.5039, allocations: 0 / 1.055 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5039, allocations: 3.938 kB / 1.055 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.5039, allocations: 0 / 1.055 GB, free: 7.988 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.001795/0.5057, allocations: 1.176 MB / 1.056 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5057, allocations: 8.031 kB / 1.056 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.5059, allocations: 91.91 kB / 1.056 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/0.507, allocations: 0.6364 MB / 1.057 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.507, allocations: 41.31 kB / 1.057 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.5071, allocations: 67.83 kB / 1.057 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5081, allocations: 0.6448 MB / 1.058 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5081, allocations: 0 / 1.058 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.5082, allocations: 20 kB / 1.058 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.5082, allocations: 12 kB / 1.058 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009851/0.5092, allocations: 0.5595 MB / 1.058 GB, free: 4.621 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.002818/0.512, allocations: 2.219 MB / 1.061 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.5128, allocations: 480.8 kB / 1.061 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.5132, allocations: 262 kB / 1.061 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002459/0.5157, allocations: 2.688 MB / 1.064 GB, free: 14.43 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5157, allocations: 42.86 kB / 1.064 GB, free: 14.38 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002468/0.516, allocations: 75.5 kB / 1.064 GB, free: 14.3 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=46): time 1.743e-06/0.516, allocations: 0 / 1.064 GB, free: 14.3 MB / 0.7482 GB Notification: Performance of matching and sorting (n=46): time 0.001349/0.5173, allocations: 0.7419 MB / 1.065 GB, free: 13.55 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.5174, allocations: 132.5 kB / 1.065 GB, free: 13.39 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.518, allocations: 0.5746 MB / 1.065 GB, free: 12.81 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.5181, allocations: 37.7 kB / 1.065 GB, free: 12.77 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.5183, allocations: 328.9 kB / 1.066 GB, free: 12.44 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5185, allocations: 165.6 kB / 1.066 GB, free: 12.27 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.5186, allocations: 114.2 kB / 1.066 GB, free: 12.16 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5188, allocations: 374.8 kB / 1.066 GB, free: 11.78 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.5192, allocations: 217 kB / 1.067 GB, free: 11.57 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.5196, allocations: 291.2 kB / 1.067 GB, free: 11.27 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.5204, allocations: 493.1 kB / 1.067 GB, free: 10.78 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5204, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.7482 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001065/0.5215, allocations: 0.6464 MB / 1.068 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5215, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5215, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5215, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.522, allocations: 115.8 kB / 1.068 GB, free: 10 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.522, allocations: 7.984 kB / 1.068 GB, free: 9.992 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.5224, allocations: 15.98 kB / 1.068 GB, free: 9.977 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.5224, allocations: 32.05 kB / 1.068 GB, free: 9.945 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.0002314/0.5227, allocations: 197.8 kB / 1.068 GB, free: 9.742 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.5228, allocations: 79.08 kB / 1.068 GB, free: 9.664 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.5249, allocations: 1.315 MB / 1.07 GB, free: 8.398 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5249, allocations: 3.984 kB / 1.07 GB, free: 8.395 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5249, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.5252, allocations: 259.7 kB / 1.07 GB, free: 8.121 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.5253, allocations: 15.94 kB / 1.07 GB, free: 8.105 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.5256, allocations: 23.98 kB / 1.07 GB, free: 8.082 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.5257, allocations: 44.59 kB / 1.07 GB, free: 8.039 MB / 0.7482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001577/0.5273, allocations: 0.9952 MB / 1.071 GB, free: 7.043 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001944/0.5292, allocations: 1.536 MB / 1.072 GB, free: 5.492 MB / 0.7482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005452/0.5298, allocations: 429.3 kB / 1.073 GB, free: 5.074 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0004603/0.5303, allocations: 407.1 kB / 1.073 GB, free: 4.68 MB / 0.7482 GB Notification: Performance of Backend: time 3.9e-07/0.5303, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.5319, allocations: 0.7472 MB / 1.074 GB, free: 3.934 MB / 0.7482 GB Notification: Performance of SimCode: time 0.002674/0.5346, allocations: 2.098 MB / 1.076 GB, free: 1.797 MB / 0.7482 GB Notification: Performance of Templates: time 0.02628/0.5609, allocations: 18.28 MB / 1.094 GB, free: 15.8 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)