Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009649, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0008805/0.0008812, allocations: 173.4 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.571/1.571, allocations: 252 MB / 0.5105 GB, free: 4.734 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005489/0.0005488, allocations: 19.98 kB / 0.6249 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5848, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0314/0.6162, allocations: 30.15 MB / 0.7582 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.6374, allocations: 14.17 MB / 0.772 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.6402, allocations: 31.75 kB / 0.772 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.6418, allocations: 310.1 kB / 0.7723 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.6459, allocations: 1.052 MB / 0.7733 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.6485, allocations: 0.7704 MB / 0.7741 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003828/0.6523, allocations: 2.82 MB / 0.7769 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.6534, allocations: 0.5651 MB / 0.7774 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.6557, allocations: 0.8712 MB / 0.7783 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.6568, allocations: 0.6494 MB / 0.7789 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.6569, allocations: 32 kB / 0.7789 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.6583, allocations: 0.577 MB / 0.7795 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.6585, allocations: 135.2 kB / 0.7796 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.659, allocations: 419.5 kB / 0.78 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.6603, allocations: 1.035 MB / 0.781 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.6603, allocations: 4 kB / 0.781 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6603, allocations: 0 / 0.781 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.6603, allocations: 0 / 0.781 GB, free: 5.562 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001687/0.662, allocations: 1.012 MB / 0.782 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6621, allocations: 12.03 kB / 0.782 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.6622, allocations: 95.81 kB / 0.7821 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.663, allocations: 0.5537 MB / 0.7827 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.6631, allocations: 45 kB / 0.7827 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.6631, allocations: 52 kB / 0.7828 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.6639, allocations: 410.4 kB / 0.7831 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.6639, allocations: 0 / 0.7831 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.664, allocations: 20 kB / 0.7832 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.664, allocations: 12 kB / 0.7832 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.6646, allocations: 319.8 kB / 0.7835 GB, free: 2.953 MB / 0.5919 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.002783/0.6674, allocations: 1.858 MB / 0.7853 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.6677, allocations: 166.5 kB / 0.7855 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.6679, allocations: 88.81 kB / 0.7855 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.6683, allocations: 336.4 kB / 0.7859 GB, free: 288 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.6683, allocations: 34.5 kB / 0.7859 GB, free: 244 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/0.6683, allocations: 0 / 0.7859 GB, free: 244 kB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.0007557/0.6691, allocations: 320.6 kB / 0.7862 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.6691, allocations: 55.41 kB / 0.7863 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.6699, allocations: 0.6686 MB / 0.7869 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.6699, allocations: 33.7 kB / 0.7869 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.6702, allocations: 372.1 kB / 0.7873 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.6703, allocations: 63.02 kB / 0.7874 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.6704, allocations: 45.69 kB / 0.7874 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.6706, allocations: 378.7 kB / 0.7878 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.6709, allocations: 111.9 kB / 0.7879 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.6712, allocations: 189.9 kB / 0.788 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.6717, allocations: 241 kB / 0.7883 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6717, allocations: 0 / 0.7883 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007336/0.6724, allocations: 406.3 kB / 0.7887 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.233e-05/0.6725, allocations: 114.7 kB / 0.7888 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6725, allocations: 3.938 kB / 0.7888 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6726, allocations: 0 / 0.7888 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6736, allocations: 160 kB / 0.7889 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.6749, allocations: 2.367 MB / 0.7912 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.6756, allocations: 83.69 kB / 0.7913 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.6756, allocations: 23.97 kB / 0.7913 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6757, allocations: 4 kB / 0.7913 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005848/0.6763, allocations: 300 kB / 0.7916 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.6763, allocations: 4 kB / 0.7916 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.6763, allocations: 0 / 0.7916 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.6767, allocations: 103.9 kB / 0.7917 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.6767, allocations: 3.938 kB / 0.7917 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.6772, allocations: 79.53 kB / 0.7918 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.6772, allocations: 20 kB / 0.7918 GB, free: 9.949 MB / 0.6075 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.6775, allocations: 261 kB / 0.7921 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.6776, allocations: 67.16 kB / 0.7921 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/0.6783, allocations: 323.3 kB / 0.7925 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.6783, allocations: 4 kB / 0.7925 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6783, allocations: 0 / 0.7925 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6783, allocations: 0 / 0.7925 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.6795, allocations: 0.8917 MB / 0.7933 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.6796, allocations: 4 kB / 0.7933 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.6799, allocations: 80 kB / 0.7934 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.6799, allocations: 4 kB / 0.7934 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.6799, allocations: 4 kB / 0.7934 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.681, allocations: 2.352 MB / 0.7957 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.681, allocations: 4.031 kB / 0.7957 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.6816, allocations: 417.9 kB / 0.7961 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.6818, allocations: 176.1 kB / 0.7963 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.6819, allocations: 4 kB / 0.7963 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.6823, allocations: 47.94 kB / 0.7963 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.6824, allocations: 15.98 kB / 0.7963 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.6824, allocations: 8 kB / 0.7964 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005551/0.6829, allocations: 471 kB / 0.7968 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.683, allocations: 7.938 kB / 0.7968 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009849/0.6839, allocations: 355 kB / 0.7972 GB, free: 4.277 MB / 0.6075 GB 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006253/0.6846, allocations: 247.2 kB / 0.7974 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.6862, allocations: 0.4981 MB / 0.7979 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6862, allocations: 0 / 0.7979 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.6866, allocations: 148.1 kB / 0.798 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.6888, allocations: 381 kB / 0.7984 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.6908, allocations: 1.371 MB / 0.7997 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.6913, allocations: 0.9254 MB / 0.8006 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004564/0.6918, allocations: 117.8 kB / 0.8007 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.6919, allocations: 51.42 kB / 0.8008 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6919, allocations: 4 kB / 0.8008 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of Templates: time 0.02411/0.716, allocations: 12.45 MB / 0.8129 GB, free: 4.281 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: