Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.659/2.659, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001351/0.001351, allocations: 175.4 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009139/0.0009139, allocations: 85.55 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000778/0.0007784, allocations: 11.97 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2376, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.05618/0.2939, allocations: 28.53 MB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03798/0.3319, allocations: 13.17 MB / 1.019 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.3335, allocations: 27.75 kB / 1.019 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.3352, allocations: 278.1 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.3393, allocations: 0.9229 MB / 1.02 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.3427, allocations: 0.7195 MB / 1.021 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004559/0.3473, allocations: 2.393 MB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.3487, allocations: 0.5187 MB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.3514, allocations: 0.8244 MB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.3531, allocations: 0.6185 MB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.3534, allocations: 28 kB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3553, allocations: 0.5146 MB / 1.026 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.3556, allocations: 139.3 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.356, allocations: 177.3 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.3576, allocations: 0.7442 MB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3576, allocations: 3.938 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3576, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.3577, allocations: 0 / 1.027 GB, free: 10.52 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.002622/0.3603, allocations: 1.024 MB / 1.028 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3604, allocations: 8.031 kB / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.3605, allocations: 86.52 kB / 1.028 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.3608, allocations: 94.88 kB / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.362, allocations: 0.5304 MB / 1.029 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.3621, allocations: 49 kB / 1.029 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3622, allocations: 52 kB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3634, allocations: 410.4 kB / 1.029 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.3634, allocations: 3.953 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.3635, allocations: 20 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3635, allocations: 11.94 kB / 1.029 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3646, allocations: 315.8 kB / 1.029 GB, free: 7.824 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.006527/0.3711, allocations: 1.854 MB / 1.031 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3724, allocations: 174.5 kB / 1.031 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.3729, allocations: 80.81 kB / 1.031 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.3735, allocations: 340.5 kB / 1.032 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.3736, allocations: 34.56 kB / 1.032 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 4.809e-06/0.3736, allocations: 0 / 1.032 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.002207/0.3758, allocations: 321.3 kB / 1.032 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.376, allocations: 55.41 kB / 1.032 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3779, allocations: 0.6646 MB / 1.033 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.3781, allocations: 41.7 kB / 1.033 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006722/0.3788, allocations: 360.1 kB / 1.033 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.3789, allocations: 66.95 kB / 1.033 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.379, allocations: 4 kB / 1.033 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003118/0.3793, allocations: 382.8 kB / 1.034 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.38, allocations: 103.9 kB / 1.034 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.3808, allocations: 174.2 kB / 1.034 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.3813, allocations: 129.6 kB / 1.034 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3813, allocations: 0 / 1.034 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001289/0.3826, allocations: 387.2 kB / 1.034 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/0.3827, allocations: 117 kB / 1.035 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3828, allocations: 3.984 kB / 1.035 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3828, allocations: 7.953 kB / 1.035 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.3847, allocations: 163.8 kB / 1.035 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.3867, allocations: 2.364 MB / 1.037 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3878, allocations: 83.56 kB / 1.037 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.3879, allocations: 12 kB / 1.037 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3879, allocations: 4 kB / 1.037 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.3889, allocations: 295.8 kB / 1.037 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.389, allocations: 8.047 kB / 1.037 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-06/0.389, allocations: 3.938 kB / 1.037 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.3898, allocations: 99.88 kB / 1.037 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.3898, allocations: 11.94 kB / 1.037 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009172/0.3907, allocations: 79.53 kB / 1.038 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.3908, allocations: 12 kB / 1.038 GB, free: 15.04 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.0004354/0.3913, allocations: 265 kB / 1.038 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3914, allocations: 71.14 kB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.3925, allocations: 316.8 kB / 1.038 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3925, allocations: 4 kB / 1.038 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.3926, allocations: 7.938 kB / 1.038 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3926, allocations: 0 / 1.038 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.3946, allocations: 0.8968 MB / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3947, allocations: 0 / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.3953, allocations: 75.94 kB / 1.039 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.3953, allocations: 4.125 kB / 1.039 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3954, allocations: 7.938 kB / 1.039 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.3969, allocations: 2.36 MB / 1.041 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.397, allocations: 0 / 1.041 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/0.3979, allocations: 406.6 kB / 1.042 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.3983, allocations: 168.2 kB / 1.042 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.3985, allocations: 11.89 kB / 1.042 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/0.3992, allocations: 63.78 kB / 1.042 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.3993, allocations: 11.98 kB / 1.042 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3993, allocations: 8 kB / 1.042 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008817/0.4002, allocations: 463 kB / 1.043 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4002, allocations: 0 / 1.043 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001265/0.4015, allocations: 343.2 kB / 1.043 GB, free: 9.383 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.001847/0.4034, allocations: 1.093 MB / 1.044 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.4061, allocations: 0.496 MB / 1.044 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4062, allocations: 0 / 1.044 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.4069, allocations: 146.4 kB / 1.045 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/0.4106, allocations: 381.8 kB / 1.045 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/0.4197, allocations: 3.52 MB / 1.048 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.4204, allocations: 0.9293 MB / 1.049 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008723/0.4213, allocations: 119.8 kB / 1.049 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.4218, allocations: 259.3 kB / 1.05 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of SimCode: time 9.21e-07/0.4218, allocations: 0 / 1.05 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0878/0.5096, allocations: 18.56 MB / 1.068 GB, free: 180 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.6714/1.181, allocations: 280.3 kB / 1.068 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/4.682, allocations: 1.344 kB / 1.068 GB, free: 96.98 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)