Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 65.25 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2482, allocations: 114.6 MB / 0.7835 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6454/0.8936, allocations: 155.1 MB / 0.935 GB, free: 41.12 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05313/0.9468, allocations: 34.75 MB / 0.9689 GB, free: 36.12 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007602/0.9545, allocations: 156.6 kB / 0.9691 GB, free: 36.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.9583, allocations: 1.038 MB / 0.9701 GB, free: 35.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01418/0.9725, allocations: 3.144 MB / 0.9731 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006782/0.9793, allocations: 2.46 MB / 0.9755 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007099/0.9864, allocations: 5.296 MB / 0.9807 GB, free: 30.88 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003023/0.9895, allocations: 2.205 MB / 0.9829 GB, free: 29.51 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005952/0.9955, allocations: 2.643 MB / 0.9854 GB, free: 28.1 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.9997, allocations: 1.932 MB / 0.9873 GB, free: 27.1 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00064/1, allocations: 210.6 kB / 0.9875 GB, free: 27.1 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/1.004, allocations: 1.092 MB / 0.9886 GB, free: 26.62 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004984/1.004, allocations: 0.5484 MB / 0.9891 GB, free: 26.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/1.006, allocations: 1.254 MB / 0.9904 GB, free: 25.35 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004071/1.01, allocations: 3.25 MB / 0.9935 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.01, allocations: 0 / 0.9935 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.625e-06/1.01, allocations: 2.781 kB / 0.9935 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.17e-05/1.01, allocations: 0 / 0.9935 GB, free: 23.17 MB / 0.7169 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.005718/1.016, allocations: 2.741 MB / 0.9962 GB, free: 21.21 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.016, allocations: 14.06 kB / 0.9962 GB, free: 21.2 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/1.016, allocations: 181.4 kB / 0.9964 GB, free: 21.05 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/1.017, allocations: 257.9 kB / 0.9966 GB, free: 20.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/1.019, allocations: 1.427 MB / 0.998 GB, free: 19.85 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/1.019, allocations: 103.3 kB / 0.9981 GB, free: 19.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.02, allocations: 138.9 kB / 0.9983 GB, free: 19.76 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/1.022, allocations: 1.154 MB / 0.9994 GB, free: 19.06 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.022, allocations: 2.625 kB / 0.9994 GB, free: 19.06 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/1.022, allocations: 47.88 kB / 0.9994 GB, free: 19.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/1.022, allocations: 38.17 kB / 0.9995 GB, free: 19.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.023, allocations: 1.008 MB / 1 GB, free: 18.5 MB / 0.7169 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.009744/1.033, allocations: 6.354 MB / 1.007 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.034, allocations: 0.5738 MB / 1.007 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/1.035, allocations: 389.4 kB / 1.008 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004995/1.035, allocations: 0.5067 MB / 1.008 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.035, allocations: 37.97 kB / 1.008 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001656/1.037, allocations: 231 kB / 1.008 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.226e-06/1.037, allocations: 0 / 1.008 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.00196/1.039, allocations: 1.167 MB / 1.009 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.039, allocations: 60.59 kB / 1.01 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.041, allocations: 1.846 MB / 1.011 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/1.042, allocations: 41.7 kB / 1.011 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005219/1.042, allocations: 0.9105 MB / 1.012 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.042, allocations: 205 kB / 1.012 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/1.043, allocations: 294.6 kB / 1.013 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/1.043, allocations: 353.9 kB / 1.013 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/1.043, allocations: 461.9 kB / 1.014 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/1.044, allocations: 0.6918 MB / 1.014 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.045, allocations: 0.9774 MB / 1.015 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/1.045, allocations: 4 kB / 1.015 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002252/1.048, allocations: 1.424 MB / 1.017 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.048, allocations: 8 kB / 1.017 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.048, allocations: 11.94 kB / 1.017 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/1.048, allocations: 11.94 kB / 1.017 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.049, allocations: 295.5 kB / 1.017 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.049, allocations: 11.94 kB / 1.017 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.05, allocations: 80.17 kB / 1.017 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.051, allocations: 55.95 kB / 1.017 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001071/1.052, allocations: 0.7173 MB / 1.018 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007362/1.052, allocations: 0.675 MB / 1.018 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001178/1.054, allocations: 0.9305 MB / 1.019 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/1.054, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002038/1.056, allocations: 1.381 MB / 1.021 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/1.056, allocations: 15.94 kB / 1.021 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/1.056, allocations: 4 kB / 1.021 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/1.056, allocations: 8 kB / 1.021 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.057, allocations: 275.6 kB / 1.021 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/1.057, allocations: 19.86 kB / 1.021 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.059, allocations: 107.7 kB / 1.021 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.059, allocations: 55.95 kB / 1.021 GB, free: 15.41 MB / 0.7325 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.0003273/1.059, allocations: 232 kB / 1.021 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/1.059, allocations: 197.5 kB / 1.022 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/1.061, allocations: 1.093 MB / 1.023 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.062, allocations: 11.94 kB / 1.023 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.062, allocations: 0 / 1.023 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/1.062, allocations: 3.984 kB / 1.023 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/1.065, allocations: 2.423 MB / 1.025 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.065, allocations: 4 kB / 1.025 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/1.066, allocations: 135.8 kB / 1.025 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.066, allocations: 4 kB / 1.025 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/1.066, allocations: 16.19 kB / 1.025 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/1.066, allocations: 11.94 kB / 1.025 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.066, allocations: 3.984 kB / 1.025 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/1.068, allocations: 1.062 MB / 1.026 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/1.068, allocations: 346.4 kB / 1.026 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.068, allocations: 12 kB / 1.027 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/1.069, allocations: 43.95 kB / 1.027 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.069, allocations: 52.53 kB / 1.027 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/1.069, allocations: 31.92 kB / 1.027 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001689/1.071, allocations: 1.215 MB / 1.028 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.071, allocations: 0 / 1.028 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002281/1.073, allocations: 0.9043 MB / 1.029 GB, free: 7.465 MB / 0.7325 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.002527/1.076, allocations: 1.842 MB / 1.03 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003293/1.079, allocations: 1.704 MB / 1.032 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.079, allocations: 0 / 1.032 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000622/1.08, allocations: 415.5 kB / 1.033 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/1.085, allocations: 1.105 MB / 1.034 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/1.107, allocations: 15.02 MB / 1.048 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.108, allocations: 1.401 MB / 1.05 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002373/1.11, allocations: 403 kB / 1.05 GB, free: 400 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.111, allocations: 0.8234 MB / 1.051 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of SimCode: time 3.126e-06/1.111, allocations: 0 / 1.051 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09748/1.209, allocations: 56 MB / 1.106 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.755/10.96, allocations: 3.938 kB / 1.106 GB, free: 8.352 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)