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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001834/0.001834, allocations: 189 kB / 377.1 MB, free: 1.508 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.016/2.016, allocations: 205.4 MB / 0.6366 GB, free: 9.543 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.001024/0.001024, allocations: 96.81 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2852, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.668/1.953, allocations: 431.9 MB / 1.41 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.953, allocations: 108.7 kB / 1.41 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.755/5.709, allocations: 1.104 GB / 2.514 GB, free: 95.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.684e-06/5.709, allocations: 0 / 2.514 GB, free: 95.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003732/5.709, allocations: 68.56 kB / 2.514 GB, free: 95.93 MB / 0.9636 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.008146/5.717, allocations: 2.696 MB / 2.517 GB, free: 94.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/5.718, allocations: 13.47 kB / 2.517 GB, free: 94.98 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005427/5.718, allocations: 171.3 kB / 2.517 GB, free: 94.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/5.719, allocations: 267.2 kB / 2.517 GB, free: 94.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/5.724, allocations: 1.592 MB / 2.519 GB, free: 94.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/5.724, allocations: 111.3 kB / 2.519 GB, free: 94.42 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/5.724, allocations: 149.3 kB / 2.519 GB, free: 94.42 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/5.727, allocations: 1.147 MB / 2.52 GB, free: 94.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/5.727, allocations: 0 / 2.52 GB, free: 94.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/5.727, allocations: 53.62 kB / 2.52 GB, free: 94.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/5.727, allocations: 28.94 kB / 2.52 GB, free: 94.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/5.729, allocations: 1.013 MB / 2.521 GB, free: 94.32 MB / 0.9636 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.01103/5.74, allocations: 6.355 MB / 2.527 GB, free: 91.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009746/5.741, allocations: 0.5963 MB / 2.528 GB, free: 91.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/5.741, allocations: 0.5109 MB / 2.528 GB, free: 91.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/5.741, allocations: 41.97 kB / 2.528 GB, free: 91.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003087/5.744, allocations: 473.9 kB / 2.529 GB, free: 91.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=58): time 1.68e-05/5.745, allocations: 0 / 2.529 GB, free: 91.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=58): time 0.003553/5.748, allocations: 1.138 MB / 2.53 GB, free: 90.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/5.748, allocations: 57.38 kB / 2.53 GB, free: 90.86 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/5.751, allocations: 1.599 MB / 2.532 GB, free: 90.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/5.751, allocations: 52.2 kB / 2.532 GB, free: 90.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008104/5.752, allocations: 0.9291 MB / 2.533 GB, free: 90.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/5.752, allocations: 201.3 kB / 2.533 GB, free: 90.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/5.753, allocations: 20.91 kB / 2.533 GB, free: 90.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/5.753, allocations: 358.8 kB / 2.533 GB, free: 89.92 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/5.754, allocations: 410.7 kB / 2.534 GB, free: 89.92 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/5.755, allocations: 0.757 MB / 2.534 GB, free: 89.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/5.755, allocations: 0.4922 MB / 2.535 GB, free: 89.56 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/5.755, allocations: 3.281 kB / 2.535 GB, free: 89.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002471/5.758, allocations: 1.345 MB / 2.536 GB, free: 89.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002736/5.758, allocations: 0.936 MB / 2.537 GB, free: 88.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/5.758, allocations: 3.375 kB / 2.537 GB, free: 88.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/5.758, allocations: 10.28 kB / 2.537 GB, free: 88.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/5.759, allocations: 279.3 kB / 2.537 GB, free: 88.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/5.76, allocations: 9.031 kB / 2.537 GB, free: 88.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/5.762, allocations: 159.9 kB / 2.537 GB, free: 88.39 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/5.762, allocations: 70.94 kB / 2.537 GB, free: 88.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/5.762, allocations: 3.375 kB / 2.537 GB, free: 88.39 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/5.764, allocations: 1.116 MB / 2.539 GB, free: 88.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/5.764, allocations: 3.125 kB / 2.539 GB, free: 88.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/5.764, allocations: 7.031 kB / 2.539 GB, free: 88.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/5.765, allocations: 277.5 kB / 2.539 GB, free: 88.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/5.765, allocations: 14.55 kB / 2.539 GB, free: 88.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/5.767, allocations: 158.2 kB / 2.539 GB, free: 88.35 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/5.767, allocations: 61.3 kB / 2.539 GB, free: 88.35 MB / 0.9636 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 () * Number of clocked 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.0009274/5.768, allocations: 444.2 kB / 2.54 GB, free: 88.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/5.769, allocations: 194.5 kB / 2.54 GB, free: 88.05 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/5.771, allocations: 1.083 MB / 2.541 GB, free: 87.96 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/5.771, allocations: 10.23 kB / 2.541 GB, free: 87.96 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/5.771, allocations: 0 / 2.541 GB, free: 87.96 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/5.771, allocations: 6.656 kB / 2.541 GB, free: 87.96 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/5.774, allocations: 2.383 MB / 2.543 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/5.774, allocations: 2 kB / 2.543 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/5.775, allocations: 141.9 kB / 2.543 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/5.775, allocations: 6.844 kB / 2.543 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/5.775, allocations: 18.78 kB / 2.543 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/5.775, allocations: 6.969 kB / 2.543 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/5.775, allocations: 6.469 kB / 2.543 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/5.776, allocations: 1.17 MB / 2.544 GB, free: 87.09 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/5.777, allocations: 354.8 kB / 2.545 GB, free: 86.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/5.777, allocations: 19.44 kB / 2.545 GB, free: 86.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/5.778, allocations: 111 kB / 2.545 GB, free: 86.87 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/5.778, allocations: 56.19 kB / 2.545 GB, free: 86.87 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/5.778, allocations: 25.14 kB / 2.545 GB, free: 86.87 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001577/5.78, allocations: 1.213 MB / 2.546 GB, free: 86.72 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/5.78, allocations: 0 / 2.546 GB, free: 86.72 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003186/5.783, allocations: 0.9806 MB / 2.547 GB, free: 86.64 MB / 0.9636 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 (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.003329/5.787, allocations: 2.961 MB / 2.55 GB, free: 85.13 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002922/5.79, allocations: 1.575 MB / 2.552 GB, free: 85.11 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/5.79, allocations: 1.719 kB / 2.552 GB, free: 85.11 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/5.79, allocations: 403.5 kB / 2.552 GB, free: 85.11 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006149/5.796, allocations: 1.149 MB / 2.553 GB, free: 85.09 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/5.805, allocations: 5.822 MB / 2.559 GB, free: 81.37 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008634/5.805, allocations: 1.435 MB / 2.56 GB, free: 80.64 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002368/5.808, allocations: 395.3 kB / 2.56 GB, free: 80.62 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/5.809, allocations: 0.8116 MB / 2.561 GB, free: 80.62 MB / 0.9636 GB Notification: Performance of SimCode: time 8.41e-07/5.809, allocations: 6.844 kB / 2.561 GB, free: 80.62 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/5.927, allocations: 62.85 MB / 2.623 GB, free: 77.72 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/5.927, allocations: 241.8 kB / 2.623 GB, free: 77.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.348/11.28, allocations: 0 / 2.623 GB, free: 77.48 MB / 0.9636 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)