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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.978/1.978, allocations: 288.2 MB / 303.2 MB, free: 8.074 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.001079/0.001079, allocations: 179.6 kB / 371.8 MB, free: 10.3 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.799/1.799, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009294/0.0009293, allocations: 93.17 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 15.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.01931/0.2319, allocations: 26.09 MB / 1.005 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.2517, allocations: 12.27 MB / 1.017 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.254, allocations: 27.75 kB / 1.017 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.2561, allocations: 0.5056 MB / 1.017 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.2606, allocations: 1.096 MB / 1.019 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.2671, allocations: 2.314 MB / 1.021 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002291/0.2694, allocations: 1.234 MB / 1.022 GB, free: 28 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008641/0.2703, allocations: 0.5266 MB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.272, allocations: 0.7708 MB / 1.023 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007892/0.2728, allocations: 454.1 kB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.2729, allocations: 32 kB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.2739, allocations: 387.5 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2741, allocations: 131.4 kB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.2744, allocations: 181.3 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0008666/0.2753, allocations: 0.6935 MB / 1.025 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2753, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2753, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.2753, allocations: 0 / 1.025 GB, free: 12.84 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.001749/0.277, allocations: 1.008 MB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2771, allocations: 8.031 kB / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.2772, allocations: 82.53 kB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.2774, allocations: 98.86 kB / 1.026 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.2783, allocations: 0.5343 MB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.2783, allocations: 41 kB / 1.027 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.2784, allocations: 52 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.2792, allocations: 410.4 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2792, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.2793, allocations: 23.95 kB / 1.027 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2793, allocations: 12 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.2799, allocations: 315.7 kB / 1.028 GB, free: 10.17 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.002865/0.2827, allocations: 1.85 MB / 1.029 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.2831, allocations: 174.4 kB / 1.03 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/0.2834, allocations: 344.5 kB / 1.03 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2835, allocations: 38.56 kB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.285e-06/0.2835, allocations: 0 / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0007752/0.2843, allocations: 319.5 kB / 1.03 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.2843, allocations: 55.41 kB / 1.03 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.2851, allocations: 0.6647 MB / 1.031 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.2851, allocations: 33.7 kB / 1.031 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.2854, allocations: 360.1 kB / 1.031 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.2855, allocations: 71 kB / 1.031 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.2855, allocations: 4 kB / 1.031 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2857, allocations: 378.7 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.2859, allocations: 107.9 kB / 1.032 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.2862, allocations: 178 kB / 1.032 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.2865, allocations: 125.6 kB / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2865, allocations: 0 / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007014/0.2872, allocations: 395.2 kB / 1.032 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.2874, allocations: 274.9 kB / 1.033 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2874, allocations: 4 kB / 1.033 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2874, allocations: 3.953 kB / 1.033 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.2884, allocations: 163.8 kB / 1.033 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2898, allocations: 2.36 MB / 1.035 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.2905, allocations: 83.78 kB / 1.035 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.2905, allocations: 23.98 kB / 1.035 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2905, allocations: 9.406 kB / 1.035 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005776/0.2911, allocations: 287.8 kB / 1.036 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2911, allocations: 0 / 1.036 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.2912, allocations: 4 kB / 1.036 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.2916, allocations: 107.8 kB / 1.036 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2916, allocations: 3.953 kB / 1.036 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.2922, allocations: 84.22 kB / 1.036 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.2922, allocations: 19.98 kB / 1.036 GB, free: 1.293 MB / 0.6511 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.0003366/0.2926, allocations: 257 kB / 1.036 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.2927, allocations: 67.27 kB / 1.036 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.2933, allocations: 324.3 kB / 1.036 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.2934, allocations: 0 / 1.036 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2934, allocations: 7.953 kB / 1.036 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2934, allocations: 4.125 kB / 1.036 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2948, allocations: 0.8917 MB / 1.037 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.2948, allocations: 4 kB / 1.037 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.2952, allocations: 75.92 kB / 1.037 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.2952, allocations: 7.984 kB / 1.037 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2952, allocations: 7.984 kB / 1.037 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.2964, allocations: 2.352 MB / 1.04 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2964, allocations: 8.312 kB / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.297, allocations: 459.9 kB / 1.04 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.2972, allocations: 168.2 kB / 1.04 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.2973, allocations: 4 kB / 1.04 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.2977, allocations: 55.8 kB / 1.04 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.2978, allocations: 23.92 kB / 1.04 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2978, allocations: 12 kB / 1.04 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006079/0.2984, allocations: 459 kB / 1.041 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2984, allocations: 0 / 1.041 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009983/0.2994, allocations: 347.2 kB / 1.041 GB, free: 11.56 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.001556/0.301, allocations: 1.402 MB / 1.043 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.3027, allocations: 0.4922 MB / 1.043 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3028, allocations: 0 / 1.043 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.3032, allocations: 151.8 kB / 1.043 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.3052, allocations: 389.1 kB / 1.044 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.3082, allocations: 2.011 MB / 1.046 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.3088, allocations: 0.9375 MB / 1.046 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000594/0.3094, allocations: 116.9 kB / 1.047 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.3097, allocations: 259.3 kB / 1.047 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/0.3097, allocations: 3.938 kB / 1.047 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.3519, allocations: 18.13 MB / 1.064 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/0.3522, allocations: 290 kB / 1.065 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.067, allocations: 0 / 1.065 GB, free: 3.535 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)