Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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/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/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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 111.1 kB / 16.43 MB, free: 6.422 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.001465/0.001465, allocations: 186.1 kB / 17.36 MB, free: 5.684 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.51/1.51, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06045/0.06045, allocations: 12.04 MB / 303.2 MB, free: 3.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005309/0.0005311, allocations: 23.95 kB / 356.3 MB, free: 13.92 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.655/1.655, allocations: 268.2 MB / 0.6617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.016e-05, allocations: 5.453 kB / 0.8879 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.5206/0.5206, allocations: 23.27 MB / 0.9106 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.5332, allocations: 6.502 MB / 0.917 GB, free: 12.45 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.5347, allocations: 30.81 kB / 0.917 GB, free: 12.43 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.536, allocations: 404.5 kB / 0.9174 GB, free: 12.21 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.5397, allocations: 1.149 MB / 0.9185 GB, free: 11.58 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.5434, allocations: 1.082 MB / 0.9196 GB, free: 11.06 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.5468, allocations: 1.917 MB / 0.9214 GB, free: 10.18 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.5479, allocations: 0.6254 MB / 0.922 GB, free: 9.891 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.5497, allocations: 0.7894 MB / 0.9228 GB, free: 9.547 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.5507, allocations: 0.6493 MB / 0.9234 GB, free: 9.27 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.5509, allocations: 68.25 kB / 0.9235 GB, free: 9.27 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.5533, allocations: 1.004 MB / 0.9245 GB, free: 8.965 MB / 0.6232 GB Notification: Performance of combineBinaries: time 0.001579/0.5549, allocations: 1.592 MB / 0.926 GB, free: 7.934 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.0008107/0.5557, allocations: 1.009 MB / 0.927 GB, free: 7.219 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.556, allocations: 158.6 kB / 0.9272 GB, free: 7.141 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0002951/0.5563, allocations: 53.5 kB / 0.9272 GB, free: 7.117 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 (124) * Number of variables: 139 (121) Notification: Performance of Bindings: time 0.003565/0.5599, allocations: 3.145 MB / 0.9303 GB, free: 4.926 MB / 0.6232 GB Notification: Performance of FunctionAlias: time 0.0002936/0.5602, allocations: 178.2 kB / 0.9305 GB, free: 4.824 MB / 0.6232 GB Notification: Performance of Early Inline: time 0.003003/0.5632, allocations: 2.302 MB / 0.9327 GB, free: 3.648 MB / 0.6232 GB Notification: Performance of simplify1: time 0.0005535/0.5638, allocations: 361.4 kB / 0.9331 GB, free: 3.484 MB / 0.6232 GB Notification: Performance of Alias: time 0.003508/0.5673, allocations: 2.068 MB / 0.9351 GB, free: 2.113 MB / 0.6232 GB Notification: Performance of simplify2: time 0.0004538/0.5677, allocations: 322.9 kB / 0.9354 GB, free: 1.969 MB / 0.6232 GB Notification: Performance of Detect States: time 0.0007094/0.5685, allocations: 0.4903 MB / 0.9359 GB, free: 1.684 MB / 0.6232 GB Notification: Performance of Events: time 0.0005109/0.569, allocations: 331.7 kB / 0.9362 GB, free: 1.508 MB / 0.6232 GB Notification: Performance of Partitioning: time 0.0006589/0.5696, allocations: 0.5297 MB / 0.9367 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of Causalize: time 0.002417/0.5721, allocations: 1.666 MB / 0.9383 GB, free: 460 kB / 0.6232 GB Notification: Performance of After Index Reduction Inline: time 0.001766/0.5739, allocations: 1.508 MB / 0.9398 GB, free: 15.51 MB / 0.6388 GB Notification: Performance of Inline: time 0.004038/0.5779, allocations: 3.274 MB / 0.943 GB, free: 13 MB / 0.6388 GB Notification: Performance of Partitioning: time 0.0001359/0.5781, allocations: 59.42 kB / 0.9431 GB, free: 12.96 MB / 0.6388 GB Notification: Performance of Cleanup: time 0.0008458/0.5789, allocations: 0.8419 MB / 0.9439 GB, free: 12.27 MB / 0.6388 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) ySet.nextEventScaled = $START.ySet.nextEventScaled ($RES_SRT_183); Notification: Performance of Causalize: time 0.01498/0.5939, allocations: 9.478 MB / 0.9531 GB, free: 8.328 MB / 0.6388 GB Notification: Performance of Tearing: time 3.37e-05/0.5939, allocations: 0 / 0.9531 GB, free: 8.328 MB / 0.6388 GB Notification: Performance of Initialization: time 1.493e-06/0.594, allocations: 1.312 kB / 0.9531 GB, free: 8.328 MB / 0.6388 GB Notification: Performance of Tearing: time 2.782e-05/0.594, allocations: 5.344 kB / 0.9531 GB, free: 8.324 MB / 0.6388 GB Notification: Performance of Categorize: time 3.73e-05/0.594, allocations: 12.2 kB / 0.9532 GB, free: 8.316 MB / 0.6388 GB Notification: Performance of Solve: time 0.003728/0.5978, allocations: 3.876 MB / 0.9569 GB, free: 4.543 MB / 0.6388 GB Notification: Performance of Jacobian: time 0.00097/0.5988, allocations: 0.6936 MB / 0.9576 GB, free: 4.051 MB / 0.6388 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 8 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {valQui.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 23 (23) {ySet.a, ySet.b, ySet.last, ySet.nextEvent, ySet.nextEventScaled, mot.uppHys.y, mot.lowHys.y, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 70 (scalar:68, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 151 (scalar:149, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 151 (scalar:149, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: Performance of backend: time 0.0001144/0.5989, allocations: 70.83 kB / 0.9577 GB, free: 4 MB / 0.6388 GB Notification: Performance of SimCode: time 0.007144/0.606, allocations: 4.732 MB / 0.9623 GB, free: 0.6367 MB / 0.6388 GB Notification: Performance of Templates: time 0.02625/0.6323, allocations: 13.51 MB / 0.9755 GB, free: 3.352 MB / 0.6544 GB make -j1 -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)