Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.MixingValveForwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection") translateModel(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.0009709/0.000971, allocations: 113.5 kB / 16.42 MB, free: 6.492 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.0009171/0.0009171, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.205/1.205, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05336/0.05336, 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.0004375/0.0004376, allocations: 27.97 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.739/1.739, allocations: 272.3 MB / 0.6657 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 111.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4427, allocations: 109.2 MB / 1 GB, free: 8.219 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection): time 0.02914/0.4719, allocations: 35.1 MB / 1.034 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.4846, allocations: 10.06 MB / 1.044 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009579/0.4856, allocations: 31.81 kB / 1.044 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.4868, allocations: 417.1 kB / 1.045 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.489, allocations: 1.003 MB / 1.046 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005344/0.4943, allocations: 2.352 MB / 1.048 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.4965, allocations: 1.951 MB / 1.05 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.4976, allocations: 0.7673 MB / 1.051 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.4994, allocations: 1.016 MB / 1.052 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008598/0.5003, allocations: 0.6575 MB / 1.052 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.5005, allocations: 80 kB / 1.052 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.502, allocations: 0.7839 MB / 1.053 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.5023, allocations: 207.3 kB / 1.053 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.5028, allocations: 449.9 kB / 1.054 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.5052, allocations: 1.554 MB / 1.055 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5052, allocations: 0 / 1.055 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5053, allocations: 0 / 1.055 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.334e-05/0.5053, 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.00216/0.5075, allocations: 1.188 MB / 1.056 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5075, allocations: 8.031 kB / 1.056 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.5077, allocations: 91.91 kB / 1.056 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.5088, allocations: 0.6402 MB / 1.057 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.5088, allocations: 45.31 kB / 1.057 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.509, allocations: 59.89 kB / 1.057 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5101, allocations: 0.6409 MB / 1.058 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5102, allocations: 4 kB / 1.058 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.5102, allocations: 20 kB / 1.058 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.5102, allocations: 12 kB / 1.058 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/0.5112, allocations: 0.5633 MB / 1.058 GB, free: 4.602 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.002934/0.5142, allocations: 2.191 MB / 1.061 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.515, allocations: 464.9 kB / 1.061 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.5153, allocations: 246 kB / 1.061 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002528/0.5179, allocations: 2.661 MB / 1.064 GB, free: 14.49 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.5179, allocations: 46.86 kB / 1.064 GB, free: 14.44 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000268/0.5182, allocations: 71.5 kB / 1.064 GB, free: 14.37 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/0.5182, allocations: 0 / 1.064 GB, free: 14.37 MB / 0.7482 GB Notification: Performance of matching and sorting (n=46): time 0.001343/0.5196, allocations: 0.6951 MB / 1.065 GB, free: 13.67 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.5196, allocations: 140.5 kB / 1.065 GB, free: 13.5 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.5203, allocations: 0.5707 MB / 1.065 GB, free: 12.92 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.5203, allocations: 33.7 kB / 1.065 GB, free: 12.88 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.5206, allocations: 336.9 kB / 1.066 GB, free: 12.54 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.5207, allocations: 165.6 kB / 1.066 GB, free: 12.38 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.5209, allocations: 110.2 kB / 1.066 GB, free: 12.27 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.521, allocations: 378.8 kB / 1.066 GB, free: 11.89 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.5214, allocations: 201 kB / 1.066 GB, free: 11.69 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.5218, allocations: 291.2 kB / 1.067 GB, free: 11.39 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.5226, allocations: 465.2 kB / 1.067 GB, free: 10.93 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5226, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.7482 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001055/0.5237, allocations: 0.6114 MB / 1.068 GB, free: 10.31 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5237, allocations: 15.94 kB / 1.068 GB, free: 10.29 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5237, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5237, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.5242, allocations: 115.8 kB / 1.068 GB, free: 10.18 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5242, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.5246, allocations: 19.98 kB / 1.068 GB, free: 10.15 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.5246, allocations: 27.98 kB / 1.068 GB, free: 10.12 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.0002491/0.5249, allocations: 205.7 kB / 1.068 GB, free: 9.914 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.525, allocations: 75.09 kB / 1.068 GB, free: 9.84 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.5271, allocations: 1.281 MB / 1.069 GB, free: 8.605 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5271, allocations: 7.984 kB / 1.069 GB, free: 8.598 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.5271, allocations: 0 / 1.069 GB, free: 8.598 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.5274, allocations: 255.7 kB / 1.07 GB, free: 8.328 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.5275, allocations: 12 kB / 1.07 GB, free: 8.316 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.5279, allocations: 23.98 kB / 1.07 GB, free: 8.293 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.528, allocations: 48.58 kB / 1.07 GB, free: 8.246 MB / 0.7482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001604/0.5296, allocations: 0.9718 MB / 1.071 GB, free: 7.273 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001983/0.5316, allocations: 1.493 MB / 1.072 GB, free: 5.766 MB / 0.7482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005355/0.5321, allocations: 417.4 kB / 1.073 GB, free: 5.359 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0004834/0.5326, allocations: 415 kB / 1.073 GB, free: 4.957 MB / 0.7482 GB Notification: Performance of Backend: time 4.51e-07/0.5326, allocations: 3.938 kB / 1.073 GB, free: 4.953 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.5343, allocations: 0.7199 MB / 1.074 GB, free: 4.234 MB / 0.7482 GB Notification: Performance of SimCode: time 0.002909/0.5373, allocations: 2.088 MB / 1.076 GB, free: 2.105 MB / 0.7482 GB Notification: Performance of Templates: time 0.02628/0.5636, allocations: 18.16 MB / 1.093 GB, free: 228 kB / 0.7638 GB make -j1 -f AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.makefile (rm -f AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe >> ../files/AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.sim & ./AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe 2>&1)