Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001277/0.001277, allocations: 176.8 kB / 361.4 MB, free: 6.82 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.765/1.765, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.0009566/0.0009571, allocations: 96.88 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.517e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.864, allocations: 115.3 MB / 0.9645 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/2.053, allocations: 402.5 MB / 1.358 GB, free: 164 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/2.053, allocations: 99.31 kB / 1.358 GB, free: 164 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3407/2.394, allocations: 173.9 MB / 1.527 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.477e-06/2.394, allocations: 0 / 1.527 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.849e-05/2.394, allocations: 20 kB / 1.527 GB, free: 3.727 MB / 0.8542 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.001669/2.396, allocations: 0.7707 MB / 1.528 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.285e-05/2.396, allocations: 12.02 kB / 1.528 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/2.396, allocations: 63.3 kB / 1.528 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/2.397, allocations: 455.6 kB / 1.529 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/2.397, allocations: 8 kB / 1.529 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/2.397, allocations: 20 kB / 1.529 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002904/2.397, allocations: 141.1 kB / 1.529 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/2.398, allocations: 229.1 kB / 1.529 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/2.398, allocations: 0 / 1.529 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/2.398, allocations: 0 / 1.529 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/2.398, allocations: 12 kB / 1.529 GB, free: 1.922 MB / 0.8542 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.001769/2.399, allocations: 1.448 MB / 1.531 GB, free: 384 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/2.4, allocations: 141 kB / 1.531 GB, free: 236 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/2.4, allocations: 68.84 kB / 1.531 GB, free: 164 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/2.401, allocations: 1.296 MB / 1.532 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/2.401, allocations: 34.56 kB / 1.532 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/2.401, allocations: 0 / 1.532 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004851/2.402, allocations: 177.1 kB / 1.532 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/2.402, allocations: 55.41 kB / 1.532 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/2.402, allocations: 465.3 kB / 1.533 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/2.402, allocations: 25.7 kB / 1.533 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/2.403, allocations: 284 kB / 1.533 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/2.403, allocations: 51.3 kB / 1.533 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/2.403, allocations: 0 / 1.533 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001962/2.403, allocations: 354.8 kB / 1.533 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/2.403, allocations: 48.55 kB / 1.533 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/2.403, allocations: 201.1 kB / 1.534 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/2.403, allocations: 100 kB / 1.534 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/2.403, allocations: 4 kB / 1.534 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004714/2.404, allocations: 267.1 kB / 1.534 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000391/2.404, allocations: 0.9727 MB / 1.535 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.404, allocations: 0 / 1.535 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/2.404, allocations: 4 kB / 1.535 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/2.405, allocations: 71.83 kB / 1.535 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/2.405, allocations: 4 kB / 1.535 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/2.405, allocations: 39.73 kB / 1.535 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/2.405, allocations: 19.98 kB / 1.535 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/2.405, allocations: 4 kB / 1.535 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003862/2.405, allocations: 181.6 kB / 1.535 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/2.405, allocations: 4 kB / 1.535 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/2.405, allocations: 8.234 kB / 1.535 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/2.406, allocations: 71.91 kB / 1.535 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/2.406, allocations: 4 kB / 1.535 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/2.406, allocations: 39.69 kB / 1.535 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/2.406, allocations: 16 kB / 1.535 GB, free: 11.03 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001271/2.406, allocations: 116.9 kB / 1.535 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003441/2.407, allocations: 177 kB / 1.536 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/2.407, allocations: 43.44 kB / 1.536 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/2.407, allocations: 221.5 kB / 1.536 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/2.407, allocations: 7.938 kB / 1.536 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/2.407, allocations: 4 kB / 1.536 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/2.407, allocations: 0 / 1.536 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/2.408, allocations: 0.6836 MB / 1.537 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/2.408, allocations: 4 kB / 1.537 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/2.408, allocations: 39.91 kB / 1.537 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/2.408, allocations: 4 kB / 1.537 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/2.408, allocations: 0 / 1.537 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/2.408, allocations: 8.125 kB / 1.537 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.408, allocations: 0 / 1.537 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/2.409, allocations: 371.1 kB / 1.537 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/2.409, allocations: 152.4 kB / 1.537 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/2.409, allocations: 7.984 kB / 1.537 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/2.409, allocations: 15.98 kB / 1.537 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/2.409, allocations: 15.98 kB / 1.537 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/2.409, allocations: 11.95 kB / 1.537 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004506/2.41, allocations: 358.9 kB / 1.538 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/2.41, allocations: 0 / 1.538 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001109/2.411, allocations: 263.4 kB / 1.538 GB, free: 8.414 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.002523/2.414, allocations: 1.64 MB / 1.539 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006326/2.414, allocations: 288.3 kB / 1.54 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/2.414, allocations: 1 kB / 1.54 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/2.414, allocations: 72.11 kB / 1.54 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/2.416, allocations: 217.2 kB / 1.54 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/2.417, allocations: 0.7079 MB / 1.541 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/2.418, allocations: 0.8592 MB / 1.541 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005637/2.419, allocations: 179.9 kB / 1.542 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/2.419, allocations: 151.4 kB / 1.542 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/2.419, allocations: 0 / 1.542 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/2.462, allocations: 14.11 MB / 1.556 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/2.462, allocations: 190.2 kB / 1.556 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/4.964, allocations: 4 kB / 1.556 GB, free: 6.066 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)