Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 194.4 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 103.9 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 43.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3097, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.06135/0.3711, allocations: 30.88 MB / 1.012 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5651/0.9363, allocations: 14.35 MB / 1.026 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.9382, allocations: 32.67 kB / 1.026 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.9395, allocations: 318.2 kB / 1.027 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.9433, allocations: 1.05 MB / 1.028 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.946, allocations: 0.7568 MB / 1.028 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003777/0.9498, allocations: 2.831 MB / 1.031 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.9511, allocations: 0.568 MB / 1.032 GB, free: 63.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.9535, allocations: 0.9036 MB / 1.033 GB, free: 63.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.955, allocations: 0.6831 MB / 1.033 GB, free: 63.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.9551, allocations: 37.31 kB / 1.033 GB, free: 63.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.9566, allocations: 0.5714 MB / 1.034 GB, free: 63.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.9568, allocations: 151.1 kB / 1.034 GB, free: 63.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000647/0.9575, allocations: 405.5 kB / 1.034 GB, free: 62.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.9595, allocations: 1.055 MB / 1.036 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9596, allocations: 0 / 1.036 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9596, allocations: 4 kB / 1.036 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.9596, allocations: 1 kB / 1.036 GB, free: 62.73 MB / 0.7448 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.002345/0.9619, allocations: 1.145 MB / 1.037 GB, free: 62.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.962, allocations: 9.062 kB / 1.037 GB, free: 62.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.9622, allocations: 94.78 kB / 1.037 GB, free: 61.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.9632, allocations: 0.5576 MB / 1.037 GB, free: 61.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.9633, allocations: 45.62 kB / 1.037 GB, free: 61.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.9634, allocations: 51.89 kB / 1.037 GB, free: 61.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.9643, allocations: 412.4 kB / 1.038 GB, free: 61.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.9643, allocations: 3.141 kB / 1.038 GB, free: 61.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.9644, allocations: 18.59 kB / 1.038 GB, free: 61.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.9644, allocations: 14.19 kB / 1.038 GB, free: 61.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.9651, allocations: 301.2 kB / 1.038 GB, free: 61.65 MB / 0.7448 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.003275/0.9684, allocations: 1.847 MB / 1.04 GB, free: 60.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.9689, allocations: 167.5 kB / 1.04 GB, free: 60.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.9691, allocations: 83.17 kB / 1.04 GB, free: 60.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.9694, allocations: 336.4 kB / 1.04 GB, free: 60.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.9694, allocations: 42.17 kB / 1.04 GB, free: 60.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 3.346e-06/0.9694, allocations: 0.7656 kB / 1.04 GB, free: 60.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0009053/0.9703, allocations: 306.1 kB / 1.041 GB, free: 60.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.9704, allocations: 52.75 kB / 1.041 GB, free: 60.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.9714, allocations: 0.6743 MB / 1.041 GB, free: 60.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.9714, allocations: 35.73 kB / 1.042 GB, free: 60.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.9718, allocations: 366.8 kB / 1.042 GB, free: 59.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.9718, allocations: 74.84 kB / 1.042 GB, free: 59.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.972, allocations: 86.33 kB / 1.042 GB, free: 59.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9722, allocations: 379.4 kB / 1.042 GB, free: 59.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.9725, allocations: 110.6 kB / 1.042 GB, free: 59.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.9729, allocations: 184.4 kB / 1.043 GB, free: 59.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.9734, allocations: 234.7 kB / 1.043 GB, free: 59.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.9735, allocations: 1.156 kB / 1.043 GB, free: 59.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009003/0.9744, allocations: 403.2 kB / 1.043 GB, free: 59.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.9744, allocations: 10.47 kB / 1.043 GB, free: 59.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9744, allocations: 1.719 kB / 1.043 GB, free: 59.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.9744, allocations: 2.562 kB / 1.043 GB, free: 59.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.9756, allocations: 151.7 kB / 1.043 GB, free: 59.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.9768, allocations: 2.374 MB / 1.046 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/0.9777, allocations: 84.75 kB / 1.046 GB, free: 56.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.9778, allocations: 16.17 kB / 1.046 GB, free: 56.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005635/0.9783, allocations: 249.7 kB / 1.046 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000363/0.9787, allocations: 173.8 kB / 1.046 GB, free: 56.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005144/0.9792, allocations: 228 kB / 1.046 GB, free: 56.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.552e-06/0.9792, allocations: 0 / 1.046 GB, free: 56.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0008468/0.9801, allocations: 384 kB / 1.047 GB, free: 56.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9801, allocations: 6.406 kB / 1.047 GB, free: 56.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9801, allocations: 2.047 kB / 1.047 GB, free: 56.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.9802, allocations: 6.469 kB / 1.047 GB, free: 56.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.9806, allocations: 97.33 kB / 1.047 GB, free: 56.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9806, allocations: 3.875 kB / 1.047 GB, free: 56.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.9812, allocations: 70.62 kB / 1.047 GB, free: 56.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.9813, allocations: 15.22 kB / 1.047 GB, free: 56.64 MB / 0.7448 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.0001372/0.9814, allocations: 205 kB / 1.047 GB, free: 56.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.9815, allocations: 68.34 kB / 1.047 GB, free: 56.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.9823, allocations: 310.8 kB / 1.048 GB, free: 56.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.9823, allocations: 4.438 kB / 1.048 GB, free: 56.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9824, allocations: 0.5625 kB / 1.048 GB, free: 56.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9824, allocations: 1.359 kB / 1.048 GB, free: 56.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.9842, allocations: 0.8896 MB / 1.048 GB, free: 56.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9842, allocations: 2.062 kB / 1.048 GB, free: 56.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.9846, allocations: 73.69 kB / 1.049 GB, free: 56.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.9846, allocations: 3.516 kB / 1.049 GB, free: 56.03 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.9846, allocations: 11.3 kB / 1.049 GB, free: 56.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008078/0.9854, allocations: 2.353 MB / 1.051 GB, free: 53.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9855, allocations: 2.125 kB / 1.051 GB, free: 53.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.9867, allocations: 1.16 MB / 1.052 GB, free: 52.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.987, allocations: 163.8 kB / 1.052 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.9871, allocations: 6.844 kB / 1.052 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.9875, allocations: 47.72 kB / 1.052 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.9876, allocations: 21.14 kB / 1.052 GB, free: 52.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.9876, allocations: 10.95 kB / 1.052 GB, free: 52.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007014/0.9883, allocations: 471.4 kB / 1.053 GB, free: 52.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9883, allocations: 0 / 1.053 GB, free: 52.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00151/0.9899, allocations: 353 kB / 1.053 GB, free: 52.57 MB / 0.7448 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.0006153/0.9905, allocations: 243.1 kB / 1.053 GB, free: 52.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.9923, allocations: 0.4918 MB / 1.054 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.9923, allocations: 1.281 kB / 1.054 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.9928, allocations: 136.9 kB / 1.054 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.9952, allocations: 383.7 kB / 1.054 GB, free: 52.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.9982, allocations: 1.537 MB / 1.056 GB, free: 51.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008182/0.9991, allocations: 0.9312 MB / 1.057 GB, free: 50.81 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000827/0.9999, allocations: 123.6 kB / 1.057 GB, free: 50.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/1, allocations: 49.11 kB / 1.057 GB, free: 50.78 MB / 0.7448 GB Notification: Performance of SimCode: time 1.814e-06/1, allocations: 5.312 kB / 1.057 GB, free: 50.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.02567/1.026, allocations: 12.83 MB / 1.069 GB, free: 49.91 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)