Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json 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.0009778/0.0009778, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001161/0.001161, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 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.058/1.058, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001667/0.001667, allocations: 243 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7329/0.7329, allocations: 138.4 MB / 402.2 MB, free: 0.582 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.235e-05, allocations: 6.234 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.00684/0.006852, allocations: 7.529 MB / 469.8 MB, free: 11.12 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004231/0.01108, allocations: 3.192 MB / 473 MB, free: 7.945 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.01144, allocations: 24.66 kB / 473.1 MB, free: 7.922 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.01196, allocations: 191.1 kB / 473.3 MB, free: 7.734 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008847/0.01284, allocations: 0.5058 MB / 473.8 MB, free: 7.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.01431, allocations: 0.7465 MB / 474.5 MB, free: 6.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.01531, allocations: 0.9802 MB / 475.5 MB, free: 5.504 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.01564, allocations: 307.9 kB / 475.8 MB, free: 5.199 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.01638, allocations: 0.5371 MB / 476.3 MB, free: 4.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.01664, allocations: 263.8 kB / 476.6 MB, free: 4.422 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.01668, allocations: 29.16 kB / 476.6 MB, free: 4.395 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006376/0.01732, allocations: 0.5184 MB / 477.1 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.01742, allocations: 147.4 kB / 477.3 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.01753, allocations: 160.1 kB / 477.4 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007343/0.01827, allocations: 0.685 MB / 478.1 MB, free: 2.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01827, allocations: 4.734 kB / 478.1 MB, free: 2.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01827, allocations: 0 / 478.1 MB, free: 2.879 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.01828, allocations: 0.625 kB / 478.1 MB, free: 2.879 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007113/0.01899, allocations: 0.7796 MB / 478.9 MB, free: 2.078 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.01902, allocations: 12.75 kB / 478.9 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.01913, allocations: 63.12 kB / 479 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.01948, allocations: 369.4 kB / 479.3 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.0195, allocations: 21.97 kB / 479.4 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.01952, allocations: 34.98 kB / 479.4 MB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.01972, allocations: 237.4 kB / 479.6 MB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.01973, allocations: 4 kB / 479.6 MB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.01974, allocations: 9.531 kB / 479.6 MB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.01975, allocations: 8 kB / 479.6 MB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.01984, allocations: 70.23 kB / 479.7 MB, free: 1.23 MB / 426.7 MB 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.0008148/0.02065, allocations: 0.9197 MB / 480.6 MB, free: 284 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.02076, allocations: 127.2 kB / 480.8 MB, free: 148 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.0208, allocations: 37.22 kB / 480.8 MB, free: 108 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.02136, allocations: 483.7 kB / 481.3 MB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.02138, allocations: 30.56 kB / 481.3 MB, free: 15.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.02138, allocations: 0.625 kB / 481.3 MB, free: 15.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001608/0.02154, allocations: 160 kB / 481.4 MB, free: 15.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.02157, allocations: 60.84 kB / 481.5 MB, free: 15.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.02188, allocations: 460.8 kB / 482 MB, free: 14.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.0219, allocations: 25.7 kB / 482 MB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.022, allocations: 217.6 kB / 482.2 MB, free: 14.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.02202, allocations: 60.02 kB / 482.3 MB, free: 14.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.02208, allocations: 71.14 kB / 482.3 MB, free: 14.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003274/0.02241, allocations: 366.6 kB / 482.7 MB, free: 14.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.02245, allocations: 32.8 kB / 482.7 MB, free: 14.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.0226, allocations: 368.8 kB / 483.1 MB, free: 13.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.02271, allocations: 152.7 kB / 483.2 MB, free: 13.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.02271, allocations: 4 kB / 483.2 MB, free: 13.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002459/0.02296, allocations: 183.1 kB / 483.4 MB, free: 13.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.02297, allocations: 4 kB / 483.4 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.02297, allocations: 5.25 kB / 483.4 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.02298, allocations: 4 kB / 483.4 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.0231, allocations: 63.84 kB / 483.5 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.02311, allocations: 9.281 kB / 483.5 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.02322, allocations: 40.52 kB / 483.5 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.02324, allocations: 16 kB / 483.5 MB, free: 13.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.142e-05/0.02332, allocations: 115.7 kB / 483.7 MB, free: 13.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001572/0.02348, allocations: 373 kB / 484 MB, free: 12.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003557/0.02384, allocations: 159.8 kB / 484.2 MB, free: 12.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.02384, allocations: 1.531 kB / 484.2 MB, free: 12.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001629/0.024, allocations: 176.2 kB / 484.4 MB, free: 12.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.02401, allocations: 8 kB / 484.4 MB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.02401, allocations: 9.172 kB / 484.4 MB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.02401, allocations: 6.953 kB / 484.4 MB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.02411, allocations: 56.48 kB / 484.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.02412, allocations: 9.703 kB / 484.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.02423, allocations: 23.89 kB / 484.5 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.02424, allocations: 16.61 kB / 484.5 MB, free: 12.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.635e-05/0.02432, allocations: 204.7 kB / 484.7 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.02435, allocations: 23.97 kB / 484.7 MB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.02452, allocations: 156.8 kB / 484.9 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.02453, allocations: 0 / 484.9 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.02453, allocations: 4 kB / 484.9 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.02453, allocations: 3.984 kB / 484.9 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.02495, allocations: 0.5139 MB / 485.4 MB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02495, allocations: 0 / 485.4 MB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.02501, allocations: 27.98 kB / 485.4 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.02501, allocations: 2.688 kB / 485.4 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.02502, allocations: 8 kB / 485.4 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.02502, allocations: 7.875 kB / 485.4 MB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02502, allocations: 4 kB / 485.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.02518, allocations: 284.9 kB / 485.7 MB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.02525, allocations: 56.62 kB / 485.8 MB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.02528, allocations: 8.531 kB / 485.8 MB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.02535, allocations: 7.938 kB / 485.8 MB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.02538, allocations: 20.41 kB / 485.8 MB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.02539, allocations: 4.969 kB / 485.8 MB, free: 10.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.02554, allocations: 215.1 kB / 486 MB, free: 10.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02554, allocations: 5.625 kB / 486 MB, free: 10.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.02591, allocations: 211.5 kB / 486.2 MB, free: 10.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001032/0.02694, allocations: 0.5133 MB / 486.7 MB, free: 10 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.02714, allocations: 198.9 kB / 486.9 MB, free: 9.809 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.02714, allocations: 4 kB / 486.9 MB, free: 9.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.02719, allocations: 54.11 kB / 487 MB, free: 9.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.02768, allocations: 226.8 kB / 487.2 MB, free: 9.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02871, allocations: 0.7451 MB / 488 MB, free: 8.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/0.0288, allocations: 121.4 kB / 488.1 MB, free: 8.629 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.02895, allocations: 71.69 kB / 488.1 MB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.02921, allocations: 203.1 kB / 488.3 MB, free: 8.379 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02921, allocations: 0 / 488.3 MB, free: 8.379 MB / 442.7 MB Notification: Performance of Templates: time 0.01116/0.04037, allocations: 10.36 MB / 498.7 MB, free: 14.59 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8522991286590695]