Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0601/0.0601, allocations: 9.131 MB / 28.99 MB, free: 416 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007372/0.0007372, allocations: 98.64 kB / 35.33 MB, free: 0.9219 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 163 kB / 38.73 MB, free: 2.398 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.087/1.087, allocations: 177.1 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004368/0.004368, allocations: 0.8304 MB / 276.5 MB, free: 0.7344 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.7/1.7, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection") translateModel(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.708e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection): time 0.008922/0.008949, allocations: 9.646 MB / 0.6473 GB, free: 4.438 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.008271/0.01722, allocations: 5.442 MB / 0.6526 GB, free: 14.98 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.01851, allocations: 35.69 kB / 0.6526 GB, free: 14.94 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.0009189/0.01943, allocations: 254 kB / 0.6529 GB, free: 14.69 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.02126, allocations: 0.8037 MB / 0.6537 GB, free: 13.88 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.0261, allocations: 2.29 MB / 0.6559 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.02872, allocations: 1.923 MB / 0.6578 GB, free: 9.656 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.02984, allocations: 0.6691 MB / 0.6584 GB, free: 8.965 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.03155, allocations: 0.9781 MB / 0.6594 GB, free: 7.984 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.03276, allocations: 0.5491 MB / 0.6599 GB, free: 7.434 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.03287, allocations: 84 kB / 0.66 GB, free: 7.352 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009433/0.03381, allocations: 0.503 MB / 0.6605 GB, free: 6.848 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.03403, allocations: 231.1 kB / 0.6607 GB, free: 6.621 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.03433, allocations: 315.3 kB / 0.661 GB, free: 6.312 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.03571, allocations: 1.024 MB / 0.662 GB, free: 5.285 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.03571, allocations: 0 / 0.662 GB, free: 5.285 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.022e-06/0.03571, allocations: 0 / 0.662 GB, free: 5.285 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.03573, allocations: 0 / 0.662 GB, free: 5.285 MB / 0.6199 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.001192/0.03692, allocations: 1.059 MB / 0.663 GB, free: 4.199 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.03695, allocations: 11.98 kB / 0.6631 GB, free: 4.188 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.03709, allocations: 100.8 kB / 0.6631 GB, free: 4.09 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.03773, allocations: 0.5174 MB / 0.6637 GB, free: 3.543 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.03776, allocations: 45.25 kB / 0.6637 GB, free: 3.5 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.03783, allocations: 56 kB / 0.6637 GB, free: 3.445 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.03837, allocations: 0.5392 MB / 0.6643 GB, free: 2.867 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.03838, allocations: 0 / 0.6643 GB, free: 2.867 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.03842, allocations: 20 kB / 0.6643 GB, free: 2.848 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.03843, allocations: 12 kB / 0.6643 GB, free: 2.836 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.03877, allocations: 245 kB / 0.6645 GB, free: 2.594 MB / 0.6199 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.001539/0.04031, allocations: 1.11 MB / 0.6656 GB, free: 1.457 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.04061, allocations: 269.2 kB / 0.6659 GB, free: 1.184 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.04073, allocations: 105.1 kB / 0.666 GB, free: 1.078 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.042, allocations: 0.8164 MB / 0.6668 GB, free: 252 kB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.04203, allocations: 38.94 kB / 0.6668 GB, free: 204 kB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001759/0.04221, allocations: 71.7 kB / 0.6669 GB, free: 132 kB / 0.6199 GB Notification: Performance of pre-optimization done (n=46): time 2.154e-06/0.04221, allocations: 4 kB / 0.6669 GB, free: 128 kB / 0.6199 GB Notification: Performance of matching and sorting (n=46): time 0.0004441/0.04265, allocations: 335.5 kB / 0.6672 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.04271, allocations: 140.5 kB / 0.6673 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.043, allocations: 439.2 kB / 0.6678 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.04303, allocations: 37.7 kB / 0.6678 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.04316, allocations: 266.2 kB / 0.668 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.04325, allocations: 174.5 kB / 0.6682 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.04337, allocations: 110.1 kB / 0.6683 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.04348, allocations: 374.6 kB / 0.6687 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.04357, allocations: 63.78 kB / 0.6687 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.04377, allocations: 357.9 kB / 0.6691 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.04399, allocations: 218 kB / 0.6693 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.044, allocations: 0 / 0.6693 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003049/0.0443, allocations: 273.3 kB / 0.6695 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.04432, allocations: 4 kB / 0.6696 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.04433, allocations: 4 kB / 0.6696 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.04435, allocations: 0 / 0.6696 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.0446, allocations: 111.8 kB / 0.6697 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.04461, allocations: 15.98 kB / 0.6697 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.04474, allocations: 19.98 kB / 0.6697 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.04478, allocations: 19.98 kB / 0.6697 GB, free: 13.06 MB / 0.6355 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.0001372/0.04492, allocations: 140.6 kB / 0.6699 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.04498, allocations: 47.95 kB / 0.6699 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009298/0.04591, allocations: 0.7653 MB / 0.6706 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.04593, allocations: 11.98 kB / 0.6707 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.04593, allocations: 0 / 0.6707 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.04593, allocations: 7.922 kB / 0.6707 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.04699, allocations: 0.9938 MB / 0.6716 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.04699, allocations: 4 kB / 0.6716 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.04723, allocations: 103.9 kB / 0.6717 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.04724, allocations: 11.94 kB / 0.6717 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.04727, allocations: 19.98 kB / 0.6718 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.04727, allocations: 4 kB / 0.6718 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.04728, allocations: 4 kB / 0.6718 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.04787, allocations: 0.6769 MB / 0.6724 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.04802, allocations: 127.3 kB / 0.6726 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.04808, allocations: 15.94 kB / 0.6726 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.04822, allocations: 19.98 kB / 0.6726 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.0483, allocations: 52.5 kB / 0.6726 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.04833, allocations: 20 kB / 0.6727 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001674/0.0485, allocations: 200.4 kB / 0.6729 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.0485, allocations: 0 / 0.6729 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006385/0.04913, allocations: 299.3 kB / 0.6731 GB, free: 9.449 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (mixingValveFiltered.filter.x[1],mixingValveFiltered.filter.x[2],temperatureSensor1.T,temperatureSensor2.T,temperatureSensorMixed.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006888/0.04982, allocations: 265.7 kB / 0.6734 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.05021, allocations: 317.1 kB / 0.6737 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.05022, allocations: 4 kB / 0.6737 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.0504, allocations: 194.8 kB / 0.6739 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.05112, allocations: 337.2 kB / 0.6742 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.05287, allocations: 1.353 MB / 0.6755 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.05297, allocations: 167.9 kB / 0.6757 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003301/0.0533, allocations: 160.8 kB / 0.6758 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.0538, allocations: 325 kB / 0.6761 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.05381, allocations: 0 / 0.6761 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of Templates: time 0.2802/0.334, allocations: 17.5 MB / 0.6932 GB, free: 43.59 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.sim & ./AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.Valves.Examples.MixingValveForwardDirection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.411703632678837]