Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.67/1.67, allocations: 285.4 MB / 298 MB, free: 5.941 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.001036/0.001036, allocations: 176.8 kB / 366.4 MB, free: 2.059 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.804/1.804, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0008895/0.0008899, allocations: 89.92 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.812e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.75, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.815, allocations: 432.3 MB / 1.393 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004163/1.815, allocations: 103.6 kB / 1.393 GB, free: 128 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.277/6.092, allocations: 0.9711 GB / 2.364 GB, free: 113.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/6.093, allocations: 0 / 2.364 GB, free: 113.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005829/6.093, allocations: 79.69 kB / 2.364 GB, free: 113.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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01004/6.103, allocations: 2.542 MB / 2.367 GB, free: 112.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/6.103, allocations: 8.938 kB / 2.367 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008408/6.104, allocations: 223.5 kB / 2.367 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/6.106, allocations: 320.4 kB / 2.367 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007182/6.113, allocations: 2.415 MB / 2.37 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/6.114, allocations: 126 kB / 2.37 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006876/6.114, allocations: 171.5 kB / 2.37 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/6.118, allocations: 1.531 MB / 2.372 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.988e-05/6.118, allocations: 0 / 2.372 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/6.118, allocations: 66.41 kB / 2.372 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.076e-05/6.118, allocations: 42.62 kB / 2.372 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/6.12, allocations: 1.051 MB / 2.373 GB, free: 112.1 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.01329/6.133, allocations: 7.978 MB / 2.381 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/6.134, allocations: 437.6 kB / 2.381 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/6.134, allocations: 314.3 kB / 2.381 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/6.135, allocations: 0.7566 MB / 2.382 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/6.135, allocations: 42.75 kB / 2.382 GB, free: 107.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.887e-06/6.135, allocations: 0 / 2.382 GB, free: 107.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001949/6.137, allocations: 0.745 MB / 2.383 GB, free: 107.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/6.137, allocations: 58.28 kB / 2.383 GB, free: 107.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/6.141, allocations: 2.008 MB / 2.385 GB, free: 107.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003627/6.141, allocations: 54.52 kB / 2.385 GB, free: 107.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/6.142, allocations: 1.139 MB / 2.386 GB, free: 106.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/6.142, allocations: 220.9 kB / 2.386 GB, free: 106.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/6.142, allocations: 21.5 kB / 2.386 GB, free: 106.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001268/6.143, allocations: 351.5 kB / 2.386 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/6.143, allocations: 314.4 kB / 2.387 GB, free: 106.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/6.144, allocations: 0.7809 MB / 2.388 GB, free: 105.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/6.145, allocations: 457.2 kB / 2.388 GB, free: 105.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/6.145, allocations: 7.438 kB / 2.388 GB, free: 105.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002434/6.147, allocations: 1.197 MB / 2.389 GB, free: 105.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006822/6.148, allocations: 3.203 MB / 2.392 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/6.148, allocations: 7.75 kB / 2.392 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/6.148, allocations: 16.78 kB / 2.392 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/6.149, allocations: 251.1 kB / 2.393 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/6.149, allocations: 22.83 kB / 2.393 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/6.152, allocations: 269.8 kB / 2.393 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/6.152, allocations: 53.08 kB / 2.393 GB, free: 102.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/6.152, allocations: 6.344 kB / 2.393 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/6.153, allocations: 0.9573 MB / 2.394 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/6.153, allocations: 7.719 kB / 2.394 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/6.153, allocations: 17.25 kB / 2.394 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/6.154, allocations: 251.2 kB / 2.394 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/6.154, allocations: 23.53 kB / 2.394 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/6.157, allocations: 248.6 kB / 2.394 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/6.157, allocations: 56.83 kB / 2.394 GB, free: 102.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.0003703/6.157, allocations: 170.7 kB / 2.395 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007206/6.158, allocations: 231.6 kB / 2.395 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/6.16, allocations: 0.8889 MB / 2.396 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/6.16, allocations: 6.344 kB / 2.396 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/6.16, allocations: 3.531 kB / 2.396 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007868/6.161, allocations: 0.6841 MB / 2.396 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00664/6.168, allocations: 2.621 MB / 2.399 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/6.168, allocations: 2.062 kB / 2.399 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/6.168, allocations: 146.5 kB / 2.399 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/6.168, allocations: 7.016 kB / 2.399 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/6.168, allocations: 23.16 kB / 2.399 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/6.168, allocations: 3.875 kB / 2.399 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/6.168, allocations: 2.25 kB / 2.399 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/6.171, allocations: 1.33 MB / 2.4 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/6.173, allocations: 463.1 kB / 2.401 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004272/6.173, allocations: 17.55 kB / 2.401 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/6.175, allocations: 161.5 kB / 2.401 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/6.175, allocations: 40.88 kB / 2.401 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/6.175, allocations: 40.31 kB / 2.401 GB, free: 100.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003583/6.178, allocations: 1.527 MB / 2.403 GB, free: 100.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/6.178, allocations: 0 / 2.403 GB, free: 100.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006856/6.185, allocations: 1.208 MB / 2.404 GB, free: 100.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.005808/6.191, allocations: 3.209 MB / 2.407 GB, free: 99.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003561/6.195, allocations: 1.378 MB / 2.408 GB, free: 99.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/6.195, allocations: 1.875 kB / 2.408 GB, free: 99.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000705/6.196, allocations: 318.8 kB / 2.409 GB, free: 99.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/6.206, allocations: 1.5 MB / 2.41 GB, free: 99.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/6.218, allocations: 3.369 MB / 2.413 GB, free: 98.15 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/6.219, allocations: 1.63 MB / 2.415 GB, free: 97.42 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004648/6.224, allocations: 0.7167 MB / 2.416 GB, free: 97.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/6.226, allocations: 0.9046 MB / 2.416 GB, free: 97.39 MB / 0.948 GB Notification: Performance of SimCode: time 1.724e-06/6.226, allocations: 0 / 2.416 GB, free: 97.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/6.381, allocations: 78.93 MB / 2.494 GB, free: 94.09 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/6.381, allocations: 215.3 kB / 2.494 GB, free: 93.85 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.987/12.37, allocations: 0 / 2.494 GB, free: 93.85 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)