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.701/1.701, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001241/0.001241, allocations: 168.8 kB / 361.4 MB, free: 6.828 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.866/1.866, 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.0008782/0.0008781, allocations: 92.7 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.932e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7883, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.965, allocations: 431.6 MB / 1.386 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.966, allocations: 101.2 kB / 1.386 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.223/6.189, allocations: 0.9658 GB / 2.352 GB, free: 117.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.184e-06/6.189, allocations: 0 / 2.352 GB, free: 117.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000506/6.189, allocations: 81.42 kB / 2.352 GB, free: 117.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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008228/6.198, allocations: 2.545 MB / 2.354 GB, free: 116.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/6.198, allocations: 7.75 kB / 2.354 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/6.2, allocations: 315.8 kB / 2.355 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006452/6.206, allocations: 2.415 MB / 2.357 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/6.206, allocations: 49.62 kB / 2.357 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004246/6.207, allocations: 103.3 kB / 2.357 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00224/6.209, allocations: 0.9847 MB / 2.358 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/6.211, allocations: 1.303 MB / 2.359 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/6.211, allocations: 0 / 2.359 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/6.212, allocations: 0 / 2.359 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-05/6.212, allocations: 50.36 kB / 2.36 GB, free: 115.8 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.01281/6.224, allocations: 7.629 MB / 2.367 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/6.225, allocations: 443.3 kB / 2.367 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/6.226, allocations: 304.4 kB / 2.368 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/6.226, allocations: 0.7555 MB / 2.368 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/6.226, allocations: 40.62 kB / 2.368 GB, free: 111.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.535e-06/6.226, allocations: 0 / 2.368 GB, free: 111.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.00204/6.228, allocations: 0.7192 MB / 2.369 GB, free: 111.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/6.228, allocations: 62 kB / 2.369 GB, free: 111.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/6.231, allocations: 1.665 MB / 2.371 GB, free: 110.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002609/6.231, allocations: 29.36 kB / 2.371 GB, free: 110.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008949/6.232, allocations: 1.154 MB / 2.372 GB, free: 110.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/6.233, allocations: 205.3 kB / 2.372 GB, free: 110.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/6.233, allocations: 2.125 kB / 2.372 GB, free: 110.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/6.233, allocations: 354 kB / 2.373 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/6.233, allocations: 301.3 kB / 2.373 GB, free: 110.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007741/6.234, allocations: 0.7612 MB / 2.374 GB, free: 109.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/6.235, allocations: 447.2 kB / 2.374 GB, free: 109.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/6.235, allocations: 5.016 kB / 2.374 GB, free: 109.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002447/6.237, allocations: 1.113 MB / 2.375 GB, free: 109.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007734/6.238, allocations: 3.157 MB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/6.238, allocations: 7.812 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/6.238, allocations: 11.69 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/6.239, allocations: 259.8 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/6.239, allocations: 19.05 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/6.242, allocations: 206.7 kB / 2.379 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/6.242, allocations: 58.17 kB / 2.379 GB, free: 106 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/6.242, allocations: 4.375 kB / 2.379 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/6.244, allocations: 0.8492 MB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/6.244, allocations: 7.812 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/6.244, allocations: 18.86 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/6.245, allocations: 253.1 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/6.245, allocations: 22.33 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/6.247, allocations: 166 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/6.247, allocations: 52.89 kB / 2.38 GB, free: 106 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.0003874/6.248, allocations: 143 kB / 2.38 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002063/6.25, allocations: 0.6912 MB / 2.381 GB, free: 105.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007633/6.251, allocations: 207.8 kB / 2.381 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/6.253, allocations: 0.8169 MB / 2.382 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/6.253, allocations: 7.188 kB / 2.382 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/6.253, allocations: 3.812 kB / 2.382 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/6.254, allocations: 0.6518 MB / 2.383 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007321/6.262, allocations: 2.406 MB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/6.262, allocations: 1.531 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/6.262, allocations: 147.5 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/6.262, allocations: 3.562 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/6.263, allocations: 10.28 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/6.263, allocations: 7.297 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/6.263, allocations: 2.719 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/6.265, allocations: 1.266 MB / 2.386 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/6.267, allocations: 433.6 kB / 2.387 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008957/6.268, allocations: 7.078 kB / 2.387 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/6.27, allocations: 147.1 kB / 2.387 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/6.271, allocations: 50.45 kB / 2.387 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/6.271, allocations: 33.67 kB / 2.387 GB, free: 104.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00356/6.274, allocations: 1.225 MB / 2.388 GB, free: 104.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.81e-07/6.274, allocations: 1 kB / 2.388 GB, free: 104.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00735/6.282, allocations: 1.212 MB / 2.389 GB, free: 104 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.006826/6.288, allocations: 3.13 MB / 2.392 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003601/6.292, allocations: 1.291 MB / 2.394 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/6.292, allocations: 1.594 kB / 2.394 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000696/6.293, allocations: 303.8 kB / 2.394 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009046/6.302, allocations: 1.269 MB / 2.395 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/6.315, allocations: 3.225 MB / 2.398 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002529/6.317, allocations: 1.634 MB / 2.4 GB, free: 101 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005268/6.323, allocations: 0.635 MB / 2.401 GB, free: 101 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/6.325, allocations: 0.8932 MB / 2.401 GB, free: 101 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/6.325, allocations: 0 / 2.401 GB, free: 101 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/6.471, allocations: 63.92 MB / 2.464 GB, free: 98.12 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/6.471, allocations: 184.1 kB / 2.464 GB, free: 97.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.164/11.63, allocations: 0 / 2.464 GB, free: 97.93 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)