Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 173.1 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 0.578 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007519/0.0007519, allocations: 92.12 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8.188 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2131, allocations: 106.3 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1321/0.3453, allocations: 151.8 MB / 1.049 GB, free: 7.441 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6147/0.9601, allocations: 34.77 MB / 1.083 GB, free: 38.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00889/0.969, allocations: 135.8 kB / 1.083 GB, free: 38.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.9731, allocations: 0.8241 MB / 1.084 GB, free: 38.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.9854, allocations: 2.867 MB / 1.087 GB, free: 38.47 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008383/0.9938, allocations: 2.303 MB / 1.089 GB, free: 38.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0132/1.007, allocations: 7.305 MB / 1.096 GB, free: 38.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004362/1.011, allocations: 1.826 MB / 1.098 GB, free: 38.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/1.018, allocations: 2.367 MB / 1.1 GB, free: 38.08 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005227/1.024, allocations: 1.88 MB / 1.102 GB, free: 38.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008753/1.024, allocations: 96.78 kB / 1.102 GB, free: 38.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/1.029, allocations: 0.9333 MB / 1.103 GB, free: 38.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008664/1.029, allocations: 431.2 kB / 1.104 GB, free: 37.99 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002387/1.032, allocations: 1.127 MB / 1.105 GB, free: 37.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005673/1.038, allocations: 3.081 MB / 1.108 GB, free: 37.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.038, allocations: 0 / 1.108 GB, free: 37.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.038, allocations: 0 / 1.108 GB, free: 37.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.76e-05/1.038, allocations: 0 / 1.108 GB, free: 37.12 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005137/1.043, allocations: 2.309 MB / 1.11 GB, free: 35.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.043, allocations: 9.875 kB / 1.11 GB, free: 35.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003849/1.043, allocations: 181.9 kB / 1.11 GB, free: 35.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/1.044, allocations: 258.8 kB / 1.11 GB, free: 35.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/1.046, allocations: 1.43 MB / 1.112 GB, free: 35.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/1.047, allocations: 103.7 kB / 1.112 GB, free: 35.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/1.047, allocations: 138.8 kB / 1.112 GB, free: 35.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/1.049, allocations: 1.163 MB / 1.113 GB, free: 35.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/1.049, allocations: 0 / 1.113 GB, free: 35.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.049, allocations: 48.22 kB / 1.113 GB, free: 35.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/1.049, allocations: 26.5 kB / 1.113 GB, free: 35.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/1.051, allocations: 1.019 MB / 1.114 GB, free: 34.88 MB / 0.698 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.01208/1.063, allocations: 6.309 MB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/1.064, allocations: 0.562 MB / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/1.065, allocations: 385.4 kB / 1.121 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/1.065, allocations: 0.5098 MB / 1.122 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.065, allocations: 50.17 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002033/1.067, allocations: 330.3 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 4.077e-06/1.067, allocations: 0 / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.002219/1.07, allocations: 1.121 MB / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.07, allocations: 62.91 kB / 1.123 GB, free: 29.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/1.073, allocations: 1.845 MB / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002787/1.073, allocations: 47.58 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007067/1.074, allocations: 0.9138 MB / 1.126 GB, free: 28.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/1.074, allocations: 203.2 kB / 1.126 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/1.074, allocations: 25.72 kB / 1.126 GB, free: 28.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.074, allocations: 349.2 kB / 1.127 GB, free: 28.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/1.075, allocations: 436.9 kB / 1.127 GB, free: 28.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008785/1.076, allocations: 0.6859 MB / 1.128 GB, free: 28.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/1.077, allocations: 0.9651 MB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.077, allocations: 0 / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002329/1.08, allocations: 1.4 MB / 1.13 GB, free: 27.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/1.08, allocations: 188.5 kB / 1.13 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.08, allocations: 3.344 kB / 1.13 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.08, allocations: 10.72 kB / 1.13 GB, free: 26.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.081, allocations: 290.3 kB / 1.13 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.081, allocations: 12.38 kB / 1.13 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.083, allocations: 160.9 kB / 1.131 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/1.083, allocations: 58.58 kB / 1.131 GB, free: 26.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.083, allocations: 4.719 kB / 1.131 GB, free: 26.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001953/1.085, allocations: 1.146 MB / 1.132 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.085, allocations: 2.875 kB / 1.132 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.085, allocations: 8.844 kB / 1.132 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.086, allocations: 283.2 kB / 1.132 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.086, allocations: 6.719 kB / 1.132 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.088, allocations: 153.3 kB / 1.132 GB, free: 26.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.088, allocations: 56.27 kB / 1.132 GB, free: 25.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009195/1.089, allocations: 449 kB / 1.133 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/1.09, allocations: 198.3 kB / 1.133 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/1.092, allocations: 1.067 MB / 1.134 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/1.092, allocations: 6.531 kB / 1.134 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.092, allocations: 3.938 kB / 1.134 GB, free: 24.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/1.092, allocations: 7.922 kB / 1.134 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/1.095, allocations: 2.383 MB / 1.136 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.095, allocations: 3.938 kB / 1.136 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/1.095, allocations: 141.3 kB / 1.136 GB, free: 23.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/1.095, allocations: 6.594 kB / 1.136 GB, free: 23.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/1.096, allocations: 18.67 kB / 1.136 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.096, allocations: 7.312 kB / 1.136 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.096, allocations: 3.219 kB / 1.136 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/1.097, allocations: 1.05 MB / 1.137 GB, free: 22.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/1.098, allocations: 369.5 kB / 1.138 GB, free: 22.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.098, allocations: 15.34 kB / 1.138 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/1.099, allocations: 95.3 kB / 1.138 GB, free: 22.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.099, allocations: 49.7 kB / 1.138 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/1.099, allocations: 26.03 kB / 1.138 GB, free: 22.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001441/1.1, allocations: 1.22 MB / 1.139 GB, free: 21.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.1, allocations: 4 kB / 1.139 GB, free: 21.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002229/1.103, allocations: 0.8868 MB / 1.14 GB, free: 21.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002133/1.105, allocations: 1.841 MB / 1.142 GB, free: 20.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002515/1.107, allocations: 1.608 MB / 1.143 GB, free: 18.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.107, allocations: 0 / 1.143 GB, free: 18.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005028/1.108, allocations: 407.9 kB / 1.144 GB, free: 18.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006462/1.114, allocations: 1.148 MB / 1.145 GB, free: 17.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/1.137, allocations: 15.54 MB / 1.16 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/1.138, allocations: 1.394 MB / 1.161 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002098/1.14, allocations: 411.8 kB / 1.162 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.141, allocations: 0.8234 MB / 1.163 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/1.141, allocations: 0 / 1.163 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.248, allocations: 54.14 MB / 1.216 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/1.248, allocations: 273.2 kB / 1.216 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.305/5.553, allocations: 0 / 1.216 GB, free: 8.098 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)