Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.866/1.866, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.00123/0.00123, allocations: 168.9 kB / 361.4 MB, free: 6.871 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.758/1.758, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008599, allocations: 87.38 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.75e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8524, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/2.109, allocations: 430.2 MB / 1.385 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/2.11, allocations: 100 kB / 1.385 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.378/6.488, allocations: 1.095 GB / 2.479 GB, free: 106.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.484e-06/6.488, allocations: 0 / 2.479 GB, free: 106.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004449/6.488, allocations: 74.42 kB / 2.479 GB, free: 106.7 MB / 0.948 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.007384/6.496, allocations: 2.304 MB / 2.482 GB, free: 105.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/6.496, allocations: 14.39 kB / 2.482 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/6.497, allocations: 262.1 kB / 2.482 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005707/6.503, allocations: 1.569 MB / 2.483 GB, free: 105 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/6.503, allocations: 37.56 kB / 2.483 GB, free: 105 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005996/6.504, allocations: 87.69 kB / 2.483 GB, free: 105 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002422/6.506, allocations: 0.933 MB / 2.484 GB, free: 105 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/6.509, allocations: 0.9553 MB / 2.485 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/6.509, allocations: 0 / 2.485 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/6.509, allocations: 0 / 2.485 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/6.509, allocations: 26.22 kB / 2.485 GB, free: 104.9 MB / 0.948 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.01234/6.521, allocations: 6.059 MB / 2.491 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/6.522, allocations: 0.5948 MB / 2.492 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004822/6.523, allocations: 379.4 kB / 2.492 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/6.523, allocations: 0.5143 MB / 2.493 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/6.523, allocations: 38.66 kB / 2.493 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002487/6.525, allocations: 423.4 kB / 2.493 GB, free: 101.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 7.594e-06/6.525, allocations: 0 / 2.493 GB, free: 101.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.002182/6.528, allocations: 0.8155 MB / 2.494 GB, free: 101.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/6.528, allocations: 60.78 kB / 2.494 GB, free: 101.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/6.53, allocations: 1.283 MB / 2.495 GB, free: 101.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/6.531, allocations: 29.36 kB / 2.495 GB, free: 101.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007236/6.531, allocations: 0.9152 MB / 2.496 GB, free: 101 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/6.532, allocations: 195.5 kB / 2.496 GB, free: 100.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/6.532, allocations: 0 / 2.496 GB, free: 100.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001094/6.532, allocations: 355.8 kB / 2.497 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/6.532, allocations: 378.8 kB / 2.497 GB, free: 100.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/6.533, allocations: 0.7025 MB / 2.498 GB, free: 100.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/6.534, allocations: 497.2 kB / 2.498 GB, free: 100.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/6.534, allocations: 0 / 2.498 GB, free: 100.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002345/6.536, allocations: 1.234 MB / 2.499 GB, free: 100 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000278/6.537, allocations: 0.9232 MB / 2.5 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/6.537, allocations: 3.938 kB / 2.5 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/6.537, allocations: 7.281 kB / 2.5 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/6.538, allocations: 284.2 kB / 2.501 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/6.538, allocations: 8.75 kB / 2.501 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/6.54, allocations: 133.3 kB / 2.501 GB, free: 99.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/6.54, allocations: 66.69 kB / 2.501 GB, free: 99.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/6.54, allocations: 3.875 kB / 2.501 GB, free: 99.03 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001571/6.542, allocations: 0.9628 MB / 2.502 GB, free: 99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/6.542, allocations: 2.469 kB / 2.502 GB, free: 99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/6.542, allocations: 6.188 kB / 2.502 GB, free: 99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/6.543, allocations: 282.4 kB / 2.502 GB, free: 99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/6.543, allocations: 6.344 kB / 2.502 GB, free: 99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/6.545, allocations: 129.7 kB / 2.502 GB, free: 98.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/6.545, allocations: 59.67 kB / 2.502 GB, free: 98.99 MB / 0.948 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.0002536/6.545, allocations: 129 kB / 2.502 GB, free: 98.88 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001342/6.547, allocations: 0.7731 MB / 2.503 GB, free: 98.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/6.547, allocations: 176.2 kB / 2.503 GB, free: 98.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/6.549, allocations: 0.9657 MB / 2.504 GB, free: 98.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/6.549, allocations: 18.23 kB / 2.504 GB, free: 98.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/6.549, allocations: 0 / 2.504 GB, free: 98.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/6.549, allocations: 6.625 kB / 2.504 GB, free: 98.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/6.552, allocations: 2.134 MB / 2.506 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/6.552, allocations: 3.688 kB / 2.506 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/6.553, allocations: 135.4 kB / 2.506 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/6.553, allocations: 3.5 kB / 2.506 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/6.553, allocations: 15.98 kB / 2.506 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/6.553, allocations: 7.344 kB / 2.506 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/6.553, allocations: 4.844 kB / 2.506 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/6.554, allocations: 1.063 MB / 2.507 GB, free: 97.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/6.555, allocations: 334.3 kB / 2.508 GB, free: 97.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/6.555, allocations: 3.938 kB / 2.508 GB, free: 97.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009625/6.556, allocations: 102.8 kB / 2.508 GB, free: 97.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/6.556, allocations: 52.31 kB / 2.508 GB, free: 97.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/6.556, allocations: 22.09 kB / 2.508 GB, free: 97.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001287/6.558, allocations: 0.932 MB / 2.509 GB, free: 97.36 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/6.558, allocations: 0 / 2.509 GB, free: 97.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003054/6.561, allocations: 0.9746 MB / 2.51 GB, free: 97.23 MB / 0.948 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.003096/6.564, allocations: 2.876 MB / 2.513 GB, free: 95.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002313/6.566, allocations: 1.505 MB / 2.514 GB, free: 95.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/6.566, allocations: 0 / 2.514 GB, free: 95.71 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004585/6.567, allocations: 358.6 kB / 2.514 GB, free: 95.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/6.572, allocations: 0.9346 MB / 2.515 GB, free: 95.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/6.577, allocations: 2.445 MB / 2.518 GB, free: 94.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/6.578, allocations: 1.446 MB / 2.519 GB, free: 94.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002737/6.581, allocations: 473.6 kB / 2.52 GB, free: 94.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009617/6.582, allocations: 0.7903 MB / 2.52 GB, free: 94.11 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/6.582, allocations: 0 / 2.52 GB, free: 94.11 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/6.684, allocations: 53.58 MB / 2.573 GB, free: 87.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/6.684, allocations: 217.9 kB / 2.573 GB, free: 86.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.8/11.48, allocations: 0 / 2.573 GB, free: 86.77 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)