Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.282/2.282, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002264/0.002264, allocations: 182.2 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 93.8 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.124e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.922/2.135, allocations: 423.3 MB / 1.297 GB, free: 261 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/2.135, allocations: 102.3 kB / 1.298 GB, free: 261 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.874/8.009, allocations: 1.063 GB / 2.361 GB, free: 96.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.527e-06/8.009, allocations: 2.344 kB / 2.361 GB, free: 96.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004552/8.01, allocations: 66.41 kB / 2.361 GB, free: 96.13 MB / 0.8855 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.008613/8.018, allocations: 2.302 MB / 2.363 GB, free: 95.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/8.018, allocations: 8.219 kB / 2.363 GB, free: 95.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/8.02, allocations: 272.4 kB / 2.363 GB, free: 95.06 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006673/8.026, allocations: 1.564 MB / 2.365 GB, free: 94.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/8.027, allocations: 37.16 kB / 2.365 GB, free: 94.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005394/8.027, allocations: 89.91 kB / 2.365 GB, free: 94.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003201/8.03, allocations: 0.9218 MB / 2.366 GB, free: 94.61 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/8.033, allocations: 0.948 MB / 2.367 GB, free: 94.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/8.033, allocations: 0.5625 kB / 2.367 GB, free: 94.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/8.034, allocations: 0 / 2.367 GB, free: 94.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/8.034, allocations: 33.23 kB / 2.367 GB, free: 94.54 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01669/8.05, allocations: 6.056 MB / 2.373 GB, free: 92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/8.052, allocations: 0.5749 MB / 2.373 GB, free: 91.96 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/8.053, allocations: 373.6 kB / 2.373 GB, free: 91.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/8.053, allocations: 0.5106 MB / 2.374 GB, free: 91.39 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/8.053, allocations: 42.91 kB / 2.374 GB, free: 91.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003965/8.057, allocations: 424.5 kB / 2.374 GB, free: 91.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 1.083e-05/8.057, allocations: 0 / 2.374 GB, free: 91.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.003161/8.06, allocations: 0.8123 MB / 2.375 GB, free: 91.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/8.061, allocations: 57.72 kB / 2.375 GB, free: 91.12 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/8.063, allocations: 1.282 MB / 2.377 GB, free: 90.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003248/8.064, allocations: 25.7 kB / 2.377 GB, free: 90.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008735/8.064, allocations: 0.9207 MB / 2.377 GB, free: 90.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/8.065, allocations: 201.4 kB / 2.378 GB, free: 90.42 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/8.065, allocations: 0 / 2.378 GB, free: 90.42 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001028/8.065, allocations: 349 kB / 2.378 GB, free: 90.12 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009053/8.066, allocations: 378.2 kB / 2.378 GB, free: 90.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/8.067, allocations: 0.6956 MB / 2.379 GB, free: 89.77 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/8.068, allocations: 491.8 kB / 2.379 GB, free: 89.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/8.068, allocations: 3.25 kB / 2.379 GB, free: 89.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003392/8.072, allocations: 1.229 MB / 2.381 GB, free: 89.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/8.072, allocations: 0.9148 MB / 2.382 GB, free: 88.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/8.072, allocations: 3.875 kB / 2.382 GB, free: 88.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/8.072, allocations: 11.23 kB / 2.382 GB, free: 88.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/8.075, allocations: 285.1 kB / 2.382 GB, free: 88.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/8.075, allocations: 6.469 kB / 2.382 GB, free: 88.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/8.078, allocations: 131.5 kB / 2.382 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/8.079, allocations: 59.83 kB / 2.382 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/8.079, allocations: 6.844 kB / 2.382 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00282/8.082, allocations: 0.9609 MB / 2.383 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/8.082, allocations: 2.75 kB / 2.383 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/8.082, allocations: 11.73 kB / 2.383 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/8.084, allocations: 272.5 kB / 2.383 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/8.084, allocations: 12.98 kB / 2.383 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/8.088, allocations: 126.8 kB / 2.383 GB, free: 88.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/8.088, allocations: 54.72 kB / 2.383 GB, free: 88.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003836/8.088, allocations: 135.8 kB / 2.384 GB, free: 88.49 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002285/8.091, allocations: 0.7535 MB / 2.384 GB, free: 88.35 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/8.091, allocations: 185.4 kB / 2.385 GB, free: 88.25 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/8.094, allocations: 0.9609 MB / 2.385 GB, free: 88.15 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/8.094, allocations: 16.69 kB / 2.385 GB, free: 88.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/8.094, allocations: 2.156 kB / 2.385 GB, free: 88.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/8.094, allocations: 3.844 kB / 2.385 GB, free: 88.15 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/8.1, allocations: 2.12 MB / 2.388 GB, free: 87.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/8.1, allocations: 0 / 2.388 GB, free: 87.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/8.101, allocations: 137.8 kB / 2.388 GB, free: 87.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/8.101, allocations: 3.719 kB / 2.388 GB, free: 87.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/8.101, allocations: 11.16 kB / 2.388 GB, free: 87.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/8.101, allocations: 9.906 kB / 2.388 GB, free: 87.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/8.101, allocations: 5.094 kB / 2.388 GB, free: 87.78 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/8.103, allocations: 1.053 MB / 2.389 GB, free: 87.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/8.105, allocations: 341.2 kB / 2.389 GB, free: 87.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/8.105, allocations: 6.375 kB / 2.389 GB, free: 87.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/8.107, allocations: 94.94 kB / 2.389 GB, free: 87.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/8.107, allocations: 56.31 kB / 2.389 GB, free: 87.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/8.107, allocations: 28.83 kB / 2.389 GB, free: 87.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001916/8.109, allocations: 0.9345 MB / 2.39 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.11e-07/8.109, allocations: 0 / 2.39 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004671/8.114, allocations: 0.9706 MB / 2.391 GB, free: 86.84 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00451/8.118, allocations: 2.851 MB / 2.394 GB, free: 85.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003625/8.122, allocations: 1.499 MB / 2.395 GB, free: 85.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/8.122, allocations: 0 / 2.395 GB, free: 85.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/8.123, allocations: 356.7 kB / 2.396 GB, free: 85.31 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008472/8.131, allocations: 0.9377 MB / 2.397 GB, free: 85.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/8.14, allocations: 2.443 MB / 2.399 GB, free: 84.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/8.141, allocations: 1.438 MB / 2.4 GB, free: 83.76 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004098/8.145, allocations: 480.2 kB / 2.401 GB, free: 83.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/8.147, allocations: 0.7906 MB / 2.402 GB, free: 83.71 MB / 0.8855 GB Notification: Performance of SimCode: time 4.068e-06/8.147, allocations: 0 / 2.402 GB, free: 83.71 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/8.3, allocations: 53.49 MB / 2.454 GB, free: 80.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/8.3, allocations: 195.3 kB / 2.454 GB, free: 80.54 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.476/13.78, allocations: 0 / 2.454 GB, free: 80.54 MB / 0.8855 GB