Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 180.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008884, allocations: 84.75 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.276e-05, allocations: 11.98 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2217, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.458/1.68, allocations: 424.9 MB / 1.3 GB, free: 320 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.68, allocations: 104.3 kB / 1.3 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.674/4.355, allocations: 0.9393 GB / 2.24 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.322e-06/4.355, allocations: 4 kB / 2.24 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002228/4.355, allocations: 79.91 kB / 2.24 GB, free: 21.38 MB / 0.8698 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.004456/4.359, allocations: 2.538 MB / 2.242 GB, free: 18.78 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/4.359, allocations: 12.03 kB / 2.242 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/4.36, allocations: 328.8 kB / 2.243 GB, free: 18.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/4.364, allocations: 2.398 MB / 2.245 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/4.364, allocations: 48 kB / 2.245 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/4.364, allocations: 104 kB / 2.245 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001428/4.365, allocations: 0.9783 MB / 2.246 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/4.367, allocations: 1.291 MB / 2.247 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/4.367, allocations: 4 kB / 2.247 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/4.367, allocations: 0 / 2.247 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/4.367, allocations: 40 kB / 2.247 GB, free: 13.45 MB / 0.8698 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.007315/4.375, allocations: 7.607 MB / 2.255 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/4.375, allocations: 433.9 kB / 2.255 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/4.375, allocations: 302 kB / 2.255 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004145/4.376, allocations: 0.7524 MB / 2.256 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/4.376, allocations: 47.06 kB / 2.256 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/4.376, allocations: 0 / 2.256 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.001142/4.377, allocations: 0.7113 MB / 2.257 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/4.377, allocations: 59.97 kB / 2.257 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/4.379, allocations: 1.669 MB / 2.259 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/4.379, allocations: 29.7 kB / 2.259 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/4.379, allocations: 1.153 MB / 2.26 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/4.38, allocations: 205 kB / 2.26 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/4.38, allocations: 0 / 2.26 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001462/4.38, allocations: 353.7 kB / 2.26 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/4.38, allocations: 302.6 kB / 2.261 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/4.381, allocations: 0.7583 MB / 2.261 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/4.382, allocations: 450.3 kB / 2.262 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/4.382, allocations: 4 kB / 2.262 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001793/4.384, allocations: 1.115 MB / 2.263 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001081/4.385, allocations: 3.159 MB / 2.266 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/4.385, allocations: 8 kB / 2.266 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/4.385, allocations: 16 kB / 2.266 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/4.386, allocations: 259.6 kB / 2.266 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/4.386, allocations: 15.94 kB / 2.266 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/4.387, allocations: 198.6 kB / 2.266 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/4.387, allocations: 51.98 kB / 2.266 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/4.387, allocations: 4 kB / 2.266 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/4.389, allocations: 0.8479 MB / 2.267 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/4.389, allocations: 12.03 kB / 2.267 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/4.389, allocations: 16 kB / 2.267 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008661/4.39, allocations: 251.6 kB / 2.267 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/4.39, allocations: 19.94 kB / 2.268 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/4.391, allocations: 171 kB / 2.268 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/4.391, allocations: 47.98 kB / 2.268 GB, free: 7.219 MB / 0.8855 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.000204/4.392, allocations: 137 kB / 2.268 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001087/4.393, allocations: 0.68 MB / 2.269 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/4.393, allocations: 209.3 kB / 2.269 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/4.394, allocations: 0.8204 MB / 2.27 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/4.394, allocations: 8 kB / 2.27 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/4.394, allocations: 0 / 2.27 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009236/4.395, allocations: 0.6501 MB / 2.27 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/4.399, allocations: 2.374 MB / 2.272 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/4.399, allocations: 8 kB / 2.272 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/4.4, allocations: 151.9 kB / 2.273 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/4.4, allocations: 4 kB / 2.273 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/4.4, allocations: 4 kB / 2.273 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/4.4, allocations: 4 kB / 2.273 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/4.4, allocations: 4 kB / 2.273 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/4.402, allocations: 1.253 MB / 2.274 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/4.402, allocations: 438.2 kB / 2.274 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/4.403, allocations: 3.984 kB / 2.274 GB, free: 312 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/4.404, allocations: 155.6 kB / 2.274 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/4.404, allocations: 48.44 kB / 2.274 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/4.404, allocations: 27.98 kB / 2.275 GB, free: 76 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.5116/4.916, allocations: 1.225 MB / 2.276 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.91e-07/4.916, allocations: 0 / 2.276 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004364/4.92, allocations: 1.209 MB / 2.277 GB, free: 108.2 MB / 0.8855 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.004251/4.924, allocations: 3.1 MB / 2.28 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002411/4.927, allocations: 1.287 MB / 2.281 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/4.927, allocations: 2.594 kB / 2.281 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/4.927, allocations: 300.1 kB / 2.281 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006988/4.934, allocations: 1.273 MB / 2.283 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/4.94, allocations: 3.234 MB / 2.286 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/4.942, allocations: 1.632 MB / 2.287 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002886/4.944, allocations: 0.6356 MB / 2.288 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009269/4.945, allocations: 0.8919 MB / 2.289 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/4.945, allocations: 1.062 kB / 2.289 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/5.047, allocations: 63.69 MB / 2.351 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/5.047, allocations: 187.5 kB / 2.351 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.306/9.353, allocations: 2.766 kB / 2.351 GB, free: 102.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)