Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.988 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.001018/0.001018, allocations: 180.8 kB / 316.3 MB, free: 3.242 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.746/1.746, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.000901/0.000901, allocations: 88.73 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.245e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2278, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.57/1.798, allocations: 391.3 MB / 1.267 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/1.799, allocations: 97.64 kB / 1.268 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3241/2.123, allocations: 168.8 MB / 1.432 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.442e-06/2.123, allocations: 0 / 1.432 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.48e-05/2.123, allocations: 16 kB / 1.432 GB, free: 182.8 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001101/2.124, allocations: 0.7395 MB / 1.433 GB, free: 182 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/2.124, allocations: 8.031 kB / 1.433 GB, free: 182 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/2.124, allocations: 55.39 kB / 1.433 GB, free: 182 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/2.125, allocations: 427.6 kB / 1.434 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/2.125, allocations: 4 kB / 1.434 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/2.125, allocations: 20 kB / 1.434 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002397/2.125, allocations: 124.8 kB / 1.434 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/2.125, allocations: 162.4 kB / 1.434 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/2.125, allocations: 11.98 kB / 1.434 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/2.125, allocations: 3.953 kB / 1.434 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/2.125, allocations: 4 kB / 1.434 GB, free: 181.2 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.001303/2.127, allocations: 0.8793 MB / 1.435 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/2.127, allocations: 110.6 kB / 1.435 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/2.127, allocations: 52.84 kB / 1.435 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/2.127, allocations: 344.5 kB / 1.435 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/2.127, allocations: 38.55 kB / 1.435 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/2.127, allocations: 0 / 1.435 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0003853/2.128, allocations: 161.1 kB / 1.435 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/2.128, allocations: 51.41 kB / 1.436 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/2.128, allocations: 361.2 kB / 1.436 GB, free: 179 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/2.128, allocations: 29.7 kB / 1.436 GB, free: 179 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/2.128, allocations: 224.7 kB / 1.436 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/2.128, allocations: 47.23 kB / 1.436 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/2.128, allocations: 4 kB / 1.436 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/2.128, allocations: 354.8 kB / 1.436 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/2.128, allocations: 47.98 kB / 1.437 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/2.128, allocations: 152.9 kB / 1.437 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/2.129, allocations: 81.88 kB / 1.437 GB, free: 178 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/2.129, allocations: 0 / 1.437 GB, free: 178 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000343/2.129, allocations: 217.1 kB / 1.437 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/2.129, allocations: 276.2 kB / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/2.129, allocations: 0 / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/2.129, allocations: 3.953 kB / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/2.129, allocations: 55.91 kB / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/2.129, allocations: 0 / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/2.13, allocations: 39.81 kB / 1.437 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/2.13, allocations: 11.98 kB / 1.437 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/2.13, allocations: 7.938 kB / 1.437 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002642/2.13, allocations: 141.2 kB / 1.437 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/2.13, allocations: 4 kB / 1.437 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-06/2.13, allocations: 0 / 1.437 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/2.13, allocations: 51.91 kB / 1.438 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/2.13, allocations: 8 kB / 1.438 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/2.13, allocations: 27.91 kB / 1.438 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/2.13, allocations: 15.98 kB / 1.438 GB, free: 177.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 7.758e-05/2.131, allocations: 113.1 kB / 1.438 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002475/2.131, allocations: 164.2 kB / 1.438 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/2.131, allocations: 35.53 kB / 1.438 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/2.131, allocations: 209.1 kB / 1.438 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/2.131, allocations: 4 kB / 1.438 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/2.131, allocations: 3.938 kB / 1.438 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/2.131, allocations: 0 / 1.438 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/2.132, allocations: 0.6269 MB / 1.439 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/2.132, allocations: 0 / 1.439 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/2.132, allocations: 35.91 kB / 1.439 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/2.132, allocations: 4 kB / 1.439 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/2.132, allocations: 4 kB / 1.439 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/2.132, allocations: 0 / 1.439 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/2.132, allocations: 12.08 kB / 1.439 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/2.132, allocations: 354.5 kB / 1.439 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/2.133, allocations: 140.5 kB / 1.439 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/2.133, allocations: 0 / 1.439 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/2.133, allocations: 19.98 kB / 1.439 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/2.133, allocations: 23.91 kB / 1.439 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/2.133, allocations: 8 kB / 1.439 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002307/2.133, allocations: 279 kB / 1.44 GB, free: 175 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.133, allocations: 0 / 1.44 GB, free: 175 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007345/2.134, allocations: 227.4 kB / 1.44 GB, free: 174.8 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 (16): * Single equations (assignments): 14 * 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.001486/2.136, allocations: 1.582 MB / 1.441 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003818/2.136, allocations: 230.2 kB / 1.442 GB, free: 173 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/2.136, allocations: 0 / 1.442 GB, free: 173 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/2.136, allocations: 64.17 kB / 1.442 GB, free: 173 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/2.137, allocations: 193.6 kB / 1.442 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/2.138, allocations: 0.6019 MB / 1.442 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/2.139, allocations: 0.8351 MB / 1.443 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003533/2.139, allocations: 115.5 kB / 1.443 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/2.139, allocations: 135.3 kB / 1.443 GB, free: 171 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/2.139, allocations: 4 kB / 1.443 GB, free: 171 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/2.17, allocations: 12.06 MB / 1.455 GB, free: 159 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/2.17, allocations: 187.6 kB / 1.455 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/4.486, allocations: 2.656 kB / 1.455 GB, free: 158.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)