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.591/1.591, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001551/0.001551, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.001231/0.001231, allocations: 94.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.165e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2252, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.744/1.969, allocations: 424.6 MB / 1.307 GB, free: 314.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.969, allocations: 100.3 kB / 1.307 GB, free: 314.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.399/5.369, allocations: 0.9446 GB / 2.251 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/5.369, allocations: 0 / 2.251 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002833/5.369, allocations: 83.92 kB / 2.251 GB, free: 5.355 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.005806/5.375, allocations: 2.532 MB / 2.254 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/5.375, allocations: 15.97 kB / 2.254 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002937/5.375, allocations: 219.5 kB / 2.254 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/5.376, allocations: 324.8 kB / 2.254 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004921/5.381, allocations: 2.394 MB / 2.257 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/5.382, allocations: 131 kB / 2.257 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/5.382, allocations: 176 kB / 2.257 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/5.385, allocations: 1.503 MB / 2.258 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/5.385, allocations: 8 kB / 2.258 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/5.385, allocations: 56 kB / 2.258 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/5.385, allocations: 44 kB / 2.259 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/5.387, allocations: 1.05 MB / 2.26 GB, free: 12.71 MB / 0.8855 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.01402/5.401, allocations: 7.954 MB / 2.267 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/5.402, allocations: 434 kB / 2.268 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/5.402, allocations: 307 kB / 2.268 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007475/5.403, allocations: 0.7524 MB / 2.269 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/5.403, allocations: 47.17 kB / 2.269 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.877e-06/5.403, allocations: 4 kB / 2.269 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002055/5.405, allocations: 0.7384 MB / 2.27 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/5.405, allocations: 55.97 kB / 2.27 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/5.409, allocations: 2.015 MB / 2.272 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003268/5.409, allocations: 49.7 kB / 2.272 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/5.411, allocations: 1.147 MB / 2.273 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/5.411, allocations: 212.9 kB / 2.273 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/5.411, allocations: 20 kB / 2.273 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001713/5.411, allocations: 357.9 kB / 2.273 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/5.412, allocations: 314.5 kB / 2.274 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009539/5.413, allocations: 0.7804 MB / 2.274 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/5.413, allocations: 443.9 kB / 2.275 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/5.413, allocations: 0 / 2.275 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002671/5.416, allocations: 1.197 MB / 2.276 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001574/5.418, allocations: 3.204 MB / 2.279 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/5.418, allocations: 8 kB / 2.279 GB, free: 7.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/5.418, allocations: 16 kB / 2.279 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/5.419, allocations: 255.6 kB / 2.279 GB, free: 7.215 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.896e-05/5.419, allocations: 27.91 kB / 2.279 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/5.422, allocations: 270 kB / 2.28 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/5.422, allocations: 51.98 kB / 2.28 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/5.422, allocations: 4 kB / 2.28 GB, free: 6.867 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/5.424, allocations: 0.9516 MB / 2.281 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/5.424, allocations: 4 kB / 2.281 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/5.424, allocations: 19.94 kB / 2.281 GB, free: 5.891 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/5.425, allocations: 251.6 kB / 2.281 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/5.425, allocations: 19.98 kB / 2.281 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/5.427, allocations: 242.6 kB / 2.281 GB, free: 5.387 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/5.428, allocations: 55.91 kB / 2.281 GB, free: 5.332 MB / 0.9011 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.000362/5.428, allocations: 173 kB / 2.281 GB, free: 5.156 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007334/5.429, allocations: 241 kB / 2.282 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/5.431, allocations: 0.8775 MB / 2.282 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/5.431, allocations: 8 kB / 2.282 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/5.431, allocations: 0 / 2.282 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/5.432, allocations: 0.6813 MB / 2.283 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/5.439, allocations: 2.592 MB / 2.286 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/5.439, allocations: 8 kB / 2.286 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/5.44, allocations: 143.8 kB / 2.286 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/5.44, allocations: 4 kB / 2.286 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/5.44, allocations: 19.98 kB / 2.286 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/5.44, allocations: 0 / 2.286 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.44, allocations: 8.094 kB / 2.286 GB, free: 488 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8214/6.261, allocations: 1.32 MB / 2.287 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/6.263, allocations: 458 kB / 2.288 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/6.264, allocations: 11.88 kB / 2.288 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/6.265, allocations: 169.1 kB / 2.288 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/6.266, allocations: 45.48 kB / 2.288 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/6.266, allocations: 33.27 kB / 2.288 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003126/6.269, allocations: 1.527 MB / 2.289 GB, free: 117 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.81e-07/6.269, allocations: 2.062 kB / 2.289 GB, free: 117 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005945/6.275, allocations: 1.196 MB / 2.29 GB, free: 116.9 MB / 0.9011 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.005516/6.28, allocations: 3.193 MB / 2.294 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003345/6.284, allocations: 1.375 MB / 2.295 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/6.284, allocations: 0.9375 kB / 2.295 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006322/6.284, allocations: 315.5 kB / 2.295 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/6.295, allocations: 1.501 MB / 2.297 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/6.309, allocations: 3.352 MB / 2.3 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/6.312, allocations: 1.639 MB / 2.302 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005256/6.317, allocations: 0.7088 MB / 2.302 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/6.319, allocations: 0.9006 MB / 2.303 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of SimCode: time 2.083e-06/6.319, allocations: 6.406 kB / 2.303 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1657/6.485, allocations: 78.7 MB / 2.38 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/6.485, allocations: 202.6 kB / 2.38 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.902/12.39, allocations: 0 / 2.38 GB, free: 110.9 MB / 0.9011 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)