Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7697/0.7697, allocations: 143.4 MB / 159.2 MB, free: 4.887 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 191 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 447.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 110.2 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 279.9 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 83.86 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3323, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01146/0.3438, allocations: 15.48 MB / 0.7831 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.3487, allocations: 4.354 MB / 0.7873 GB, free: 7.758 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.3492, allocations: 11.94 kB / 0.7873 GB, free: 7.746 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.35, allocations: 230.8 kB / 0.7875 GB, free: 7.52 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.3513, allocations: 0.5475 MB / 0.7881 GB, free: 6.973 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.3528, allocations: 0.63 MB / 0.7887 GB, free: 6.352 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009509/0.3538, allocations: 1.317 MB / 0.79 GB, free: 5.031 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.3541, allocations: 287.7 kB / 0.7902 GB, free: 4.742 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004927/0.3546, allocations: 398.2 kB / 0.7906 GB, free: 4.352 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3549, allocations: 318.6 kB / 0.7909 GB, free: 4.039 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.355, allocations: 16 kB / 0.7909 GB, free: 4.023 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.3558, allocations: 0.6043 MB / 0.7915 GB, free: 3.418 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.763e-05/0.3559, allocations: 87.61 kB / 0.7916 GB, free: 3.332 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.3561, allocations: 214.7 kB / 0.7918 GB, free: 3.121 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007078/0.3568, allocations: 0.7516 MB / 0.7926 GB, free: 2.367 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3568, allocations: 0 / 0.7926 GB, free: 2.367 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.3568, allocations: 0 / 0.7926 GB, free: 2.367 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3568, allocations: 0 / 0.7926 GB, free: 2.367 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001035/0.3579, allocations: 0.8369 MB / 0.7934 GB, free: 1.477 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3579, allocations: 8.031 kB / 0.7934 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.358, allocations: 60.28 kB / 0.7934 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.3585, allocations: 409.5 kB / 0.7938 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3586, allocations: 20.44 kB / 0.7939 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.3586, allocations: 28 kB / 0.7939 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.359, allocations: 207.2 kB / 0.7941 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.359, allocations: 0 / 0.7941 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3591, allocations: 8 kB / 0.7941 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3591, allocations: 4 kB / 0.7941 GB, free: 0.707 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.3594, allocations: 173.6 kB / 0.7943 GB, free: 0.5391 MB / 458.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.001518/0.3609, allocations: 0.9459 MB / 0.7952 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.3612, allocations: 126.6 kB / 0.7953 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3614, allocations: 68.81 kB / 0.7954 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.3617, allocations: 344.5 kB / 0.7957 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3618, allocations: 38.5 kB / 0.7957 GB, free: 14.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3618, allocations: 8 kB / 0.7957 GB, free: 14.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006289/0.3624, allocations: 237 kB / 0.796 GB, free: 14.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.3625, allocations: 51.41 kB / 0.796 GB, free: 14.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.363, allocations: 485.8 kB / 0.7965 GB, free: 14.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.363, allocations: 33.7 kB / 0.7965 GB, free: 14.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.3632, allocations: 224.6 kB / 0.7967 GB, free: 13.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3632, allocations: 43.36 kB / 0.7968 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.3633, allocations: 65.69 kB / 0.7968 GB, free: 13.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3634, allocations: 354.7 kB / 0.7972 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3636, allocations: 68.81 kB / 0.7972 GB, free: 13.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3639, allocations: 163 kB / 0.7974 GB, free: 13.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.3642, allocations: 160 kB / 0.7975 GB, free: 12.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3642, allocations: 96 / 0.7975 GB, free: 12.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004739/0.3647, allocations: 258.3 kB / 0.7978 GB, free: 12.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3647, allocations: 8 kB / 0.7978 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3647, allocations: 4 kB / 0.7978 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3648, allocations: 0 / 0.7978 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.365, allocations: 43.97 kB / 0.7978 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.365, allocations: 4 kB / 0.7978 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.3653, allocations: 43.75 kB / 0.7979 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.3654, allocations: 15.97 kB / 0.7979 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002614/0.3656, allocations: 203.9 kB / 0.7981 GB, free: 12.33 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002231/0.3659, allocations: 153.4 kB / 0.7982 GB, free: 12.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003144/0.3662, allocations: 179.7 kB / 0.7984 GB, free: 11.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.3662, allocations: 3.984 kB / 0.7984 GB, free: 11.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004828/0.3667, allocations: 249 kB / 0.7986 GB, free: 11.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.3667, allocations: 8.062 kB / 0.7987 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.3667, allocations: 4 kB / 0.7987 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-06/0.3667, allocations: 0 / 0.7987 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3669, allocations: 43.97 kB / 0.7987 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3669, allocations: 7.938 kB / 0.7987 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.3673, allocations: 43.8 kB / 0.7988 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3673, allocations: 12 kB / 0.7988 GB, free: 11.59 MB / 474.7 MB 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 (24): * Single equations (assignments): 24 * 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 9.811e-05/0.3674, allocations: 201.2 kB / 0.799 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.3675, allocations: 39.44 kB / 0.799 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.368, allocations: 250.6 kB / 0.7992 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.368, allocations: 4 kB / 0.7992 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.368, allocations: 0 / 0.7992 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.368, allocations: 4 kB / 0.7992 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.3689, allocations: 0.6966 MB / 0.7999 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.369, allocations: 128 / 0.7999 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3691, allocations: 43.91 kB / 0.8 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3691, allocations: 0 / 0.8 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3691, allocations: 4 kB / 0.8 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3691, allocations: 4.031 kB / 0.8 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3691, allocations: 7.938 kB / 0.8 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.37, allocations: 1.039 MB / 0.801 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3701, allocations: 136.5 kB / 0.8011 GB, free: 9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3702, allocations: 4 kB / 0.8011 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3704, allocations: 23.89 kB / 0.8011 GB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.3705, allocations: 15.98 kB / 0.8012 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3705, allocations: 11.92 kB / 0.8012 GB, free: 8.945 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003375/0.3708, allocations: 334.9 kB / 0.8015 GB, free: 8.621 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3708, allocations: 0 / 0.8015 GB, free: 8.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000803/0.3717, allocations: 203.6 kB / 0.8017 GB, free: 8.422 MB / 474.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 (16): * Single equations (assignments): 14 * 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.001021/0.3727, allocations: 497.7 kB / 0.8022 GB, free: 8.066 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006059/0.3733, allocations: 270 kB / 0.8024 GB, free: 7.805 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3733, allocations: 0 / 0.8024 GB, free: 7.805 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.3735, allocations: 83.89 kB / 0.8025 GB, free: 7.723 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.3748, allocations: 226.7 kB / 0.8027 GB, free: 7.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3761, allocations: 0.9977 MB / 0.8037 GB, free: 6.465 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3764, allocations: 0.8389 MB / 0.8045 GB, free: 5.602 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.3767, allocations: 75.62 kB / 0.8046 GB, free: 5.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.174e-05/0.3768, allocations: 43.42 kB / 0.8046 GB, free: 5.48 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3768, allocations: 0 / 0.8046 GB, free: 5.48 MB / 474.7 MB Notification: Performance of Templates: time 0.01403/0.3908, allocations: 8.513 MB / 0.8129 GB, free: 13.09 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)