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.001467/0.001467, allocations: 115.6 kB / 16.42 MB, free: 6.488 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.001715/0.001715, 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.521/1.521, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.09143/0.09143, allocations: 12.03 MB / 303.2 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004701/0.0004701, allocations: 31.94 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.788/1.788, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003465/0.003465, allocations: 108.3 kB / 0.8935 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.5003, allocations: 109.2 MB / 1 GB, free: 8.137 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection): time 0.03004/0.5303, allocations: 35.09 MB / 1.034 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.5429, allocations: 10.07 MB / 1.044 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.5436, allocations: 27.81 kB / 1.044 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.5446, allocations: 413.1 kB / 1.045 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.5465, allocations: 0.983 MB / 1.046 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.5514, allocations: 2.353 MB / 1.048 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.5532, allocations: 1.94 MB / 1.05 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008931/0.5541, allocations: 0.7713 MB / 1.051 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.5556, allocations: 1.016 MB / 1.052 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.5563, allocations: 0.6652 MB / 1.052 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.5564, allocations: 76 kB / 1.052 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.5578, allocations: 0.7723 MB / 1.053 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.558, allocations: 211.3 kB / 1.053 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.5584, allocations: 453.9 kB / 1.054 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.5601, allocations: 1.554 MB / 1.055 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5601, allocations: 0 / 1.055 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5601, allocations: 0 / 1.055 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.5601, allocations: 0 / 1.055 GB, free: 7.969 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.001758/0.5619, allocations: 1.184 MB / 1.056 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5619, allocations: 8.031 kB / 1.056 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.5621, allocations: 91.91 kB / 1.056 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/0.5631, allocations: 0.6402 MB / 1.057 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.5632, allocations: 41.31 kB / 1.057 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.5633, allocations: 59.91 kB / 1.057 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.5643, allocations: 0.637 MB / 1.058 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5643, allocations: 7.938 kB / 1.058 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.5644, allocations: 23.94 kB / 1.058 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.5644, allocations: 12 kB / 1.058 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.5654, allocations: 0.5595 MB / 1.058 GB, free: 4.594 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.002822/0.5683, allocations: 2.187 MB / 1.061 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.569, allocations: 473.5 kB / 1.061 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.5694, allocations: 254 kB / 1.061 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002448/0.5719, allocations: 2.656 MB / 1.064 GB, free: 14.48 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.5719, allocations: 46.86 kB / 1.064 GB, free: 14.42 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002387/0.5722, allocations: 63.52 kB / 1.064 GB, free: 14.36 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=46): time 1.893e-06/0.5722, allocations: 0 / 1.064 GB, free: 14.36 MB / 0.7482 GB Notification: Performance of matching and sorting (n=46): time 0.00132/0.5735, allocations: 0.699 MB / 1.065 GB, free: 13.66 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.5736, allocations: 136.5 kB / 1.065 GB, free: 13.49 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.5742, allocations: 0.5707 MB / 1.065 GB, free: 12.91 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.5743, allocations: 37.7 kB / 1.065 GB, free: 12.87 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.5745, allocations: 340.9 kB / 1.066 GB, free: 12.53 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5746, allocations: 157.6 kB / 1.066 GB, free: 12.37 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.5748, allocations: 114.2 kB / 1.066 GB, free: 12.25 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.575, allocations: 378.8 kB / 1.066 GB, free: 11.88 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.5753, allocations: 201 kB / 1.066 GB, free: 11.68 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.5758, allocations: 283.2 kB / 1.067 GB, free: 11.39 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.5765, allocations: 469.1 kB / 1.067 GB, free: 10.92 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5765, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.7482 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001058/0.5776, allocations: 0.6153 MB / 1.068 GB, free: 10.3 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5776, allocations: 8 kB / 1.068 GB, free: 10.29 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5776, allocations: 3.984 kB / 1.068 GB, free: 10.29 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5777, allocations: 4 kB / 1.068 GB, free: 10.28 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.5781, allocations: 111.9 kB / 1.068 GB, free: 10.17 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.5782, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.5785, allocations: 15.98 kB / 1.068 GB, free: 10.15 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.5786, allocations: 35.97 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.0002367/0.5788, allocations: 201.7 kB / 1.068 GB, free: 9.91 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.5789, allocations: 75.09 kB / 1.068 GB, free: 9.836 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.581, allocations: 1.284 MB / 1.069 GB, free: 8.598 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5811, allocations: 7.922 kB / 1.069 GB, free: 8.59 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5811, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.5813, allocations: 255.7 kB / 1.07 GB, free: 8.32 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.5815, allocations: 16 kB / 1.07 GB, free: 8.305 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.5818, allocations: 23.97 kB / 1.07 GB, free: 8.281 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.5819, allocations: 48.59 kB / 1.07 GB, free: 8.234 MB / 0.7482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001552/0.5834, allocations: 0.9757 MB / 1.071 GB, free: 7.258 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00194/0.5854, allocations: 1.493 MB / 1.072 GB, free: 5.75 MB / 0.7482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005546/0.5859, allocations: 417.4 kB / 1.073 GB, free: 5.344 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0004663/0.5864, allocations: 415.1 kB / 1.073 GB, free: 4.941 MB / 0.7482 GB Notification: Performance of Backend: time 4.01e-07/0.5864, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.5881, allocations: 0.7215 MB / 1.074 GB, free: 4.223 MB / 0.7482 GB Notification: Performance of SimCode: time 0.002793/0.5909, allocations: 2.084 MB / 1.076 GB, free: 2.09 MB / 0.7482 GB Notification: Performance of Templates: time 0.02568/0.6166, allocations: 18.14 MB / 1.093 GB, free: 224 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)