Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.566/1.566, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 189 kB / 326.5 MB, free: 2.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 2.459/2.459, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009798/0.0009799, allocations: 82.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004197, allocations: 9.219 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3041, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.506, allocations: 395.7 MB / 1.287 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.506, allocations: 104.3 kB / 1.287 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.041/2.548, allocations: 170.7 MB / 1.453 GB, free: 282.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.545e-06/2.548, allocations: 0 / 1.453 GB, free: 282.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001119/2.548, allocations: 12.47 kB / 1.453 GB, free: 282.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002435/2.55, allocations: 0.8843 MB / 1.454 GB, free: 281.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/2.551, allocations: 11 kB / 1.454 GB, free: 281.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/2.551, allocations: 55.86 kB / 1.454 GB, free: 281.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/2.551, allocations: 64.62 kB / 1.454 GB, free: 281.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/2.552, allocations: 467.8 kB / 1.455 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/2.552, allocations: 25.91 kB / 1.455 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/2.552, allocations: 28.31 kB / 1.455 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/2.553, allocations: 274 kB / 1.455 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/2.553, allocations: 3.938 kB / 1.455 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/2.553, allocations: 14.11 kB / 1.455 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/2.553, allocations: 11.39 kB / 1.455 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/2.553, allocations: 203.8 kB / 1.455 GB, free: 281.5 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00225/2.556, allocations: 1.316 MB / 1.457 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/2.556, allocations: 193.8 kB / 1.457 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/2.558, allocations: 1.316 MB / 1.458 GB, free: 279.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/2.558, allocations: 43.91 kB / 1.458 GB, free: 279.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 2.325e-06/2.558, allocations: 0 / 1.458 GB, free: 279.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.000716/2.558, allocations: 295.5 kB / 1.458 GB, free: 279.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/2.558, allocations: 55.06 kB / 1.458 GB, free: 279.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/2.559, allocations: 0.5086 MB / 1.459 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/2.559, allocations: 35.64 kB / 1.459 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/2.559, allocations: 265.8 kB / 1.459 GB, free: 279.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/2.559, allocations: 65.03 kB / 1.459 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/2.559, allocations: 3.5 kB / 1.459 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/2.559, allocations: 363.6 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/2.56, allocations: 83.75 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/2.56, allocations: 232.9 kB / 1.46 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/2.56, allocations: 112.1 kB / 1.46 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/2.56, allocations: 3.656 kB / 1.46 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005808/2.561, allocations: 325.1 kB / 1.46 GB, free: 278.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/2.561, allocations: 0.7905 MB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/2.561, allocations: 3.844 kB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/2.561, allocations: 3.938 kB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/2.561, allocations: 68.25 kB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/2.561, allocations: 3.531 kB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/2.562, allocations: 52.53 kB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/2.562, allocations: 18.86 kB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/2.562, allocations: 3.875 kB / 1.461 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005094/2.562, allocations: 254.2 kB / 1.462 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/2.562, allocations: 3.719 kB / 1.462 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/2.562, allocations: 7.859 kB / 1.462 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/2.562, allocations: 67.22 kB / 1.462 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/2.563, allocations: 6.906 kB / 1.462 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/2.563, allocations: 50.48 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/2.563, allocations: 11.16 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002646/2.563, allocations: 262.1 kB / 1.462 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/2.563, allocations: 48.97 kB / 1.462 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/2.564, allocations: 296.6 kB / 1.462 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/2.564, allocations: 3.938 kB / 1.462 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.564, allocations: 0 / 1.462 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/2.564, allocations: 0 / 1.462 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/2.565, allocations: 0.8001 MB / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/2.565, allocations: 0 / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/2.565, allocations: 34.69 kB / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/2.565, allocations: 7.297 kB / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/2.565, allocations: 3 kB / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/2.565, allocations: 11.31 kB / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/2.565, allocations: 0 / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/2.566, allocations: 0.5279 MB / 1.464 GB, free: 276.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/2.566, allocations: 165.2 kB / 1.464 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/2.566, allocations: 10.22 kB / 1.464 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/2.567, allocations: 17.86 kB / 1.464 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/2.567, allocations: 21.67 kB / 1.464 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/2.567, allocations: 11.42 kB / 1.464 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004493/2.567, allocations: 408.8 kB / 1.464 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/2.567, allocations: 2.656 kB / 1.464 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009781/2.568, allocations: 272.2 kB / 1.464 GB, free: 276.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002286/2.571, allocations: 1.851 MB / 1.466 GB, free: 275.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007846/2.571, allocations: 374 kB / 1.467 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.571, allocations: 2.906 kB / 1.467 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/2.572, allocations: 103.5 kB / 1.467 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/2.573, allocations: 248.3 kB / 1.467 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/2.575, allocations: 2.753 MB / 1.47 GB, free: 273.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/2.576, allocations: 0.8571 MB / 1.471 GB, free: 272.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004728/2.576, allocations: 113.5 kB / 1.471 GB, free: 272.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/2.576, allocations: 167.2 kB / 1.471 GB, free: 272.6 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/2.576, allocations: 0 / 1.471 GB, free: 272.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/2.617, allocations: 16.28 MB / 1.487 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/2.617, allocations: 237.2 kB / 1.487 GB, free: 267.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/5.44, allocations: 4 kB / 1.487 GB, free: 267.4 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)