Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.778/2.778, 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.001486/0.001486, allocations: 176.9 kB / 360.6 MB, free: 7.27 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.084/2.084, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001186/0.001185, allocations: 98.17 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.766e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8941/0.8942, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/2.251, allocations: 431.5 MB / 1.385 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/2.252, allocations: 98 kB / 1.385 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.042/8.294, allocations: 0.9658 GB / 2.351 GB, free: 115.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.846e-06/8.294, allocations: 0 / 2.351 GB, free: 115.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006149/8.295, allocations: 82.95 kB / 2.351 GB, free: 115.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.009592/8.304, allocations: 2.532 MB / 2.353 GB, free: 114.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/8.304, allocations: 11.69 kB / 2.353 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/8.306, allocations: 327.2 kB / 2.354 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009545/8.316, allocations: 2.413 MB / 2.356 GB, free: 114.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/8.316, allocations: 48.19 kB / 2.356 GB, free: 114.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006701/8.317, allocations: 101.3 kB / 2.356 GB, free: 114.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003692/8.321, allocations: 0.9804 MB / 2.357 GB, free: 114.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/8.325, allocations: 1.304 MB / 2.358 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/8.326, allocations: 6.688 kB / 2.358 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/8.326, allocations: 3.906 kB / 2.358 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/8.326, allocations: 36.25 kB / 2.358 GB, free: 114.2 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.01923/8.345, allocations: 7.631 MB / 2.366 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/8.346, allocations: 437.4 kB / 2.366 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/8.347, allocations: 306.7 kB / 2.366 GB, free: 110.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/8.348, allocations: 0.7607 MB / 2.367 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/8.348, allocations: 44.94 kB / 2.367 GB, free: 109.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 5.24e-06/8.348, allocations: 0 / 2.367 GB, free: 109.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002877/8.351, allocations: 0.7198 MB / 2.368 GB, free: 109.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/8.351, allocations: 55.81 kB / 2.368 GB, free: 109.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004546/8.355, allocations: 1.666 MB / 2.37 GB, free: 109.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004182/8.356, allocations: 28.52 kB / 2.37 GB, free: 109.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/8.357, allocations: 1.155 MB / 2.371 GB, free: 109 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000452/8.358, allocations: 206.6 kB / 2.371 GB, free: 108.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/8.358, allocations: 0 / 2.371 GB, free: 108.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/8.358, allocations: 352.1 kB / 2.371 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008458/8.359, allocations: 305.1 kB / 2.372 GB, free: 108.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/8.36, allocations: 0.7573 MB / 2.372 GB, free: 108.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/8.362, allocations: 451.5 kB / 2.373 GB, free: 108.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/8.362, allocations: 3.906 kB / 2.373 GB, free: 108.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004006/8.366, allocations: 1.109 MB / 2.374 GB, free: 107.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007559/8.367, allocations: 3.159 MB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/8.367, allocations: 11.03 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.492e-05/8.367, allocations: 17.47 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/8.369, allocations: 257.7 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/8.369, allocations: 17.56 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/8.373, allocations: 205.3 kB / 2.377 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004292/8.374, allocations: 54.28 kB / 2.378 GB, free: 104.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/8.374, allocations: 3.75 kB / 2.378 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002898/8.376, allocations: 0.8423 MB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/8.377, allocations: 19.8 kB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/8.377, allocations: 15.5 kB / 2.378 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/8.379, allocations: 256.4 kB / 2.379 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/8.379, allocations: 18.91 kB / 2.379 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003698/8.382, allocations: 169.1 kB / 2.379 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/8.383, allocations: 56.27 kB / 2.379 GB, free: 104.4 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.0004661/8.383, allocations: 130.8 kB / 2.379 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002551/8.386, allocations: 0.692 MB / 2.38 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009162/8.387, allocations: 208.1 kB / 2.38 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/8.39, allocations: 0.8258 MB / 2.381 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/8.39, allocations: 9.969 kB / 2.381 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/8.39, allocations: 0 / 2.381 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/8.392, allocations: 0.6539 MB / 2.381 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00782/8.4, allocations: 2.395 MB / 2.384 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/8.4, allocations: 1.969 kB / 2.384 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/8.401, allocations: 150.8 kB / 2.384 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/8.401, allocations: 5.469 kB / 2.384 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/8.401, allocations: 8.5 kB / 2.384 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/8.401, allocations: 5.812 kB / 2.384 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/8.401, allocations: 9.312 kB / 2.384 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/8.405, allocations: 1.264 MB / 2.385 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/8.407, allocations: 427.2 kB / 2.385 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/8.408, allocations: 6.859 kB / 2.385 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/8.411, allocations: 154.8 kB / 2.386 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/8.412, allocations: 47.19 kB / 2.386 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/8.412, allocations: 33.5 kB / 2.386 GB, free: 102.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004033/8.416, allocations: 1.226 MB / 2.387 GB, free: 102.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.847e-06/8.416, allocations: 0 / 2.387 GB, free: 102.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008208/8.424, allocations: 1.217 MB / 2.388 GB, free: 102.5 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.008036/8.432, allocations: 3.126 MB / 2.391 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004223/8.437, allocations: 1.292 MB / 2.392 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/8.437, allocations: 1.125 kB / 2.392 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/8.438, allocations: 304.9 kB / 2.393 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01275/8.45, allocations: 1.275 MB / 2.394 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/8.464, allocations: 3.233 MB / 2.397 GB, free: 100.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/8.466, allocations: 1.64 MB / 2.399 GB, free: 99.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005877/8.472, allocations: 0.6346 MB / 2.399 GB, free: 99.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/8.475, allocations: 0.8958 MB / 2.4 GB, free: 99.48 MB / 0.948 GB Notification: Performance of SimCode: time 2.024e-06/8.475, allocations: 1.125 kB / 2.4 GB, free: 99.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1931/8.668, allocations: 63.9 MB / 2.463 GB, free: 96.49 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/8.668, allocations: 180 kB / 2.463 GB, free: 96.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.578/14.25, allocations: 0 / 2.463 GB, free: 96.29 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)