Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.617/2.617, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001438/0.001438, allocations: 180.8 kB / 360.6 MB, free: 7.281 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.032/2.032, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001123/0.001123, allocations: 96.08 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.405e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8251, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/2.133, allocations: 430 MB / 1.383 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/2.133, allocations: 100.3 kB / 1.383 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.968/8.101, allocations: 1.095 GB / 2.478 GB, free: 108.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.785e-06/8.101, allocations: 0 / 2.478 GB, free: 108.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000614/8.102, allocations: 63.05 kB / 2.478 GB, free: 108.3 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.008859/8.111, allocations: 2.3 MB / 2.48 GB, free: 107.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/8.111, allocations: 15.41 kB / 2.48 GB, free: 107.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/8.112, allocations: 265.6 kB / 2.481 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006772/8.119, allocations: 1.569 MB / 2.482 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/8.119, allocations: 36.69 kB / 2.482 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/8.12, allocations: 88.94 kB / 2.482 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003235/8.123, allocations: 0.9335 MB / 2.483 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/8.126, allocations: 0.942 MB / 2.484 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/8.126, allocations: 0 / 2.484 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/8.126, allocations: 1.719 kB / 2.484 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/8.126, allocations: 30.12 kB / 2.484 GB, free: 106.5 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.01711/8.144, allocations: 6.066 MB / 2.49 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/8.145, allocations: 0.5989 MB / 2.491 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/8.146, allocations: 379.4 kB / 2.491 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005069/8.146, allocations: 0.5068 MB / 2.491 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/8.146, allocations: 44.08 kB / 2.491 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003822/8.15, allocations: 420.6 kB / 2.492 GB, free: 103.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 1.023e-05/8.15, allocations: 2.844 kB / 2.492 GB, free: 103.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.003242/8.154, allocations: 0.8185 MB / 2.493 GB, free: 103.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/8.154, allocations: 61.03 kB / 2.493 GB, free: 103.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/8.157, allocations: 1.286 MB / 2.494 GB, free: 102.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003895/8.157, allocations: 25.7 kB / 2.494 GB, free: 102.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/8.158, allocations: 0.906 MB / 2.495 GB, free: 102.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/8.159, allocations: 200.5 kB / 2.495 GB, free: 102.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/8.159, allocations: 2.656 kB / 2.495 GB, free: 102.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001083/8.159, allocations: 354.7 kB / 2.495 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009538/8.16, allocations: 378.7 kB / 2.496 GB, free: 102.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/8.161, allocations: 0.7105 MB / 2.497 GB, free: 101.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/8.163, allocations: 498.8 kB / 2.497 GB, free: 101.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/8.163, allocations: 0 / 2.497 GB, free: 101.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003911/8.167, allocations: 1.229 MB / 2.498 GB, free: 101.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002544/8.167, allocations: 0.925 MB / 2.499 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/8.167, allocations: 3.406 kB / 2.499 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/8.167, allocations: 6.469 kB / 2.499 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/8.17, allocations: 282.9 kB / 2.499 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/8.17, allocations: 13.56 kB / 2.499 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/8.173, allocations: 123.9 kB / 2.499 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004335/8.174, allocations: 55.55 kB / 2.5 GB, free: 100.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/8.174, allocations: 3.781 kB / 2.5 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002826/8.177, allocations: 0.9734 MB / 2.501 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/8.177, allocations: 3.25 kB / 2.501 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/8.177, allocations: 11.12 kB / 2.501 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/8.179, allocations: 273.1 kB / 2.501 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/8.179, allocations: 21.05 kB / 2.501 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/8.183, allocations: 124.3 kB / 2.501 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/8.183, allocations: 59.38 kB / 2.501 GB, free: 100.6 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.0004286/8.184, allocations: 126.3 kB / 2.501 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002405/8.186, allocations: 0.7714 MB / 2.502 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/8.187, allocations: 176.3 kB / 2.502 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/8.19, allocations: 0.9737 MB / 2.503 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/8.19, allocations: 9.906 kB / 2.503 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/8.19, allocations: 0 / 2.503 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/8.19, allocations: 3.891 kB / 2.503 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/8.196, allocations: 2.133 MB / 2.505 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/8.196, allocations: 3.312 kB / 2.505 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/8.197, allocations: 137.4 kB / 2.505 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/8.197, allocations: 3.844 kB / 2.505 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/8.197, allocations: 16.48 kB / 2.505 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/8.197, allocations: 5.406 kB / 2.505 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/8.197, allocations: 1.281 kB / 2.505 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/8.2, allocations: 1.062 MB / 2.506 GB, free: 99.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/8.201, allocations: 339.5 kB / 2.507 GB, free: 99.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006724/8.202, allocations: 3.844 kB / 2.507 GB, free: 99.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/8.204, allocations: 97.03 kB / 2.507 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/8.205, allocations: 57.53 kB / 2.507 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/8.205, allocations: 25.58 kB / 2.507 GB, free: 99.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002075/8.207, allocations: 0.9349 MB / 2.508 GB, free: 98.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.32e-07/8.207, allocations: 2.781 kB / 2.508 GB, free: 98.97 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005069/8.212, allocations: 0.9723 MB / 2.509 GB, free: 98.84 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.00479/8.217, allocations: 2.861 MB / 2.511 GB, free: 97.35 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003875/8.221, allocations: 1.504 MB / 2.513 GB, free: 97.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/8.221, allocations: 1.969 kB / 2.513 GB, free: 97.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008263/8.221, allocations: 361.7 kB / 2.513 GB, free: 97.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008821/8.23, allocations: 0.9357 MB / 2.514 GB, free: 97.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/8.239, allocations: 2.444 MB / 2.517 GB, free: 96.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/8.24, allocations: 1.44 MB / 2.518 GB, free: 95.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003942/8.244, allocations: 476.1 kB / 2.518 GB, free: 95.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/8.246, allocations: 0.7928 MB / 2.519 GB, free: 95.72 MB / 0.948 GB Notification: Performance of SimCode: time 1.934e-06/8.246, allocations: 1.594 kB / 2.519 GB, free: 95.72 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/8.403, allocations: 53.57 MB / 2.571 GB, free: 89.79 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/8.404, allocations: 199.4 kB / 2.572 GB, free: 89.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.924/14.33, allocations: 0 / 2.572 GB, free: 89.52 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)