Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 288.4 MB / 303.4 MB, free: 8.125 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.001062/0.001063, allocations: 188.5 kB / 372 MB, free: 10.27 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.724/1.724, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 82.41 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004461, allocations: 15.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.246, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0244/0.2705, allocations: 28.53 MB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.2884, allocations: 13.19 MB / 1.02 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.29, allocations: 31.69 kB / 1.02 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.291, allocations: 274.1 kB / 1.021 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.2938, allocations: 0.9191 MB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.296, allocations: 0.6991 MB / 1.022 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.2987, allocations: 2.397 MB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007886/0.2995, allocations: 0.5226 MB / 1.025 GB, free: 13 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.3012, allocations: 0.8128 MB / 1.026 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000875/0.3021, allocations: 0.6262 MB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/0.3022, allocations: 32 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3033, allocations: 0.5107 MB / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.3034, allocations: 127.4 kB / 1.027 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.3036, allocations: 185.2 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0008637/0.3045, allocations: 0.7479 MB / 1.028 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3045, allocations: 0 / 1.028 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3045, allocations: 4 kB / 1.028 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.3046, allocations: 0 / 1.028 GB, free: 9.945 MB / 0.6511 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.001712/0.3063, allocations: 1.023 MB / 1.029 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.3063, allocations: 12.03 kB / 1.029 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.3065, allocations: 94.88 kB / 1.029 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.3073, allocations: 0.5305 MB / 1.03 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.3074, allocations: 41 kB / 1.03 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.3074, allocations: 56 kB / 1.03 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.3082, allocations: 406.4 kB / 1.03 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3082, allocations: 0 / 1.03 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.3083, allocations: 27.94 kB / 1.03 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3083, allocations: 15.95 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.3089, allocations: 303.8 kB / 1.03 GB, free: 7.355 MB / 0.6511 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.002794/0.3117, allocations: 1.861 MB / 1.032 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.3121, allocations: 174.5 kB / 1.032 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3123, allocations: 84.81 kB / 1.033 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.3126, allocations: 340.4 kB / 1.033 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3126, allocations: 42.5 kB / 1.033 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.3126, allocations: 0 / 1.033 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0007293/0.3133, allocations: 315.3 kB / 1.033 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3134, allocations: 55.41 kB / 1.033 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.3142, allocations: 0.6724 MB / 1.034 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.3142, allocations: 33.7 kB / 1.034 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.3145, allocations: 360.1 kB / 1.034 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.3146, allocations: 67.02 kB / 1.034 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.3146, allocations: 4 kB / 1.034 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3148, allocations: 382.7 kB / 1.035 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.315, allocations: 107.9 kB / 1.035 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.3153, allocations: 178 kB / 1.035 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.3156, allocations: 129.6 kB / 1.035 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3156, allocations: 0 / 1.035 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006675/0.3163, allocations: 391.2 kB / 1.035 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.3163, allocations: 114.7 kB / 1.036 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3163, allocations: 0 / 1.036 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3164, allocations: 4 kB / 1.036 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.3174, allocations: 167.8 kB / 1.036 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.3188, allocations: 2.364 MB / 1.038 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.3194, allocations: 87.69 kB / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.3194, allocations: 12 kB / 1.038 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3194, allocations: 4.109 kB / 1.038 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005822/0.32, allocations: 299.7 kB / 1.038 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.3201, allocations: 0 / 1.038 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.3201, allocations: 4 kB / 1.038 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.3205, allocations: 95.88 kB / 1.039 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3205, allocations: 4 kB / 1.039 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.321, allocations: 95.41 kB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.321, allocations: 19.94 kB / 1.039 GB, free: 14.54 MB / 0.6667 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.3213, allocations: 261 kB / 1.039 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.3214, allocations: 63.16 kB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006627/0.3221, allocations: 325 kB / 1.039 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.3221, allocations: 4 kB / 1.039 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3221, allocations: 0 / 1.039 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3221, allocations: 3.984 kB / 1.039 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.3234, allocations: 0.8932 MB / 1.04 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3234, allocations: 8.109 kB / 1.04 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.3237, allocations: 71.89 kB / 1.04 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3237, allocations: 3.984 kB / 1.04 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.3238, allocations: 8 kB / 1.04 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.325, allocations: 2.352 MB / 1.043 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3251, allocations: 3.984 kB / 1.043 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.3256, allocations: 414.8 kB / 1.043 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.3258, allocations: 172.2 kB / 1.043 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.3259, allocations: 8 kB / 1.043 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.3263, allocations: 59.75 kB / 1.043 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3264, allocations: 19.97 kB / 1.043 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3264, allocations: 4 kB / 1.043 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005171/0.3269, allocations: 463 kB / 1.044 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3269, allocations: 0 / 1.044 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008667/0.3278, allocations: 347.2 kB / 1.044 GB, free: 8.883 MB / 0.6667 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007009/0.3285, allocations: 237.2 kB / 1.044 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.3304, allocations: 0.4939 MB / 1.045 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3304, allocations: 0 / 1.045 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.3308, allocations: 149.3 kB / 1.045 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.3327, allocations: 383.6 kB / 1.045 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.3347, allocations: 1.304 MB / 1.046 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3352, allocations: 0.9294 MB / 1.047 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005535/0.3357, allocations: 125.8 kB / 1.047 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3359, allocations: 51.42 kB / 1.048 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of SimCode: time 8.42e-07/0.3359, allocations: 0 / 1.048 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of Templates: time 0.02298/0.3589, allocations: 12.09 MB / 1.059 GB, free: 9.262 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)