Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",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.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.844 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.001078/0.001078, allocations: 180.8 kB / 316.3 MB, free: 3.238 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.73/1.73, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.001014/0.001014, allocations: 80.55 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.745e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2129, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.837, allocations: 393.5 MB / 1.27 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.838, allocations: 93.69 kB / 1.27 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.221/3.059, allocations: 349.1 MB / 1.611 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.144e-06/3.059, allocations: 5.594 kB / 1.611 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001499/3.059, allocations: 31.92 kB / 1.611 GB, free: 212.5 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003187/3.062, allocations: 1.163 MB / 1.612 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/3.062, allocations: 9.656 kB / 1.612 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006289/3.063, allocations: 123.7 kB / 1.612 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/3.065, allocations: 0.6622 MB / 1.613 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/3.065, allocations: 19.16 kB / 1.613 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/3.065, allocations: 54.91 kB / 1.613 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007905/3.066, allocations: 329 kB / 1.613 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/3.067, allocations: 455.4 kB / 1.613 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/3.067, allocations: 5.156 kB / 1.613 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/3.067, allocations: 0 / 1.613 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/3.067, allocations: 15.98 kB / 1.613 GB, free: 211.7 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.004259/3.071, allocations: 2.377 MB / 1.616 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/3.071, allocations: 256 kB / 1.616 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/3.072, allocations: 113.6 kB / 1.616 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/3.072, allocations: 359.1 kB / 1.616 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/3.072, allocations: 31.44 kB / 1.616 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/3.072, allocations: 0.9375 kB / 1.616 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.001462/3.073, allocations: 407.9 kB / 1.617 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/3.073, allocations: 57.03 kB / 1.617 GB, free: 210 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/3.074, allocations: 0.5396 MB / 1.617 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/3.074, allocations: 31.17 kB / 1.617 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/3.075, allocations: 437 kB / 1.618 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/3.075, allocations: 100.7 kB / 1.618 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/3.075, allocations: 0 / 1.618 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/3.075, allocations: 379.4 kB / 1.618 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/3.075, allocations: 124 kB / 1.618 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/3.076, allocations: 0.7475 MB / 1.619 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/3.077, allocations: 294.2 kB / 1.619 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/3.077, allocations: 1.031 kB / 1.619 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00154/3.079, allocations: 0.5521 MB / 1.62 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/3.079, allocations: 0.8087 MB / 1.621 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/3.079, allocations: 2.125 kB / 1.621 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/3.079, allocations: 5.5 kB / 1.621 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/3.08, allocations: 168.7 kB / 1.621 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/3.081, allocations: 2.388 MB / 1.623 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/3.083, allocations: 368.1 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/3.083, allocations: 25.05 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/3.083, allocations: 6.375 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001444/3.085, allocations: 417.2 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/3.085, allocations: 4.719 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/3.085, allocations: 4.594 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/3.086, allocations: 138.4 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/3.086, allocations: 4.375 kB / 1.624 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/3.088, allocations: 355.3 kB / 1.625 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/3.088, allocations: 23.7 kB / 1.625 GB, free: 205.4 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003877/3.088, allocations: 128.5 kB / 1.625 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001236/3.089, allocations: 384.6 kB / 1.625 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/3.09, allocations: 70.97 kB / 1.625 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/3.091, allocations: 492 kB / 1.626 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/3.091, allocations: 3.125 kB / 1.626 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/3.091, allocations: 0 / 1.626 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/3.091, allocations: 11.75 kB / 1.626 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/3.094, allocations: 1.083 MB / 1.627 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/3.094, allocations: 5.062 kB / 1.627 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/3.094, allocations: 111.3 kB / 1.627 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/3.094, allocations: 3.953 kB / 1.627 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/3.094, allocations: 11.7 kB / 1.627 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007441/3.095, allocations: 2.357 MB / 1.629 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/3.095, allocations: 0 / 1.629 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/3.096, allocations: 0.5997 MB / 1.63 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/3.096, allocations: 192.4 kB / 1.63 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/3.097, allocations: 7.078 kB / 1.63 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/3.097, allocations: 56.66 kB / 1.63 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/3.097, allocations: 20.86 kB / 1.63 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/3.097, allocations: 18.12 kB / 1.63 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005847/3.098, allocations: 412.3 kB / 1.63 GB, free: 202 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/3.098, allocations: 0 / 1.63 GB, free: 202 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002221/3.1, allocations: 489.3 kB / 1.631 GB, free: 201.9 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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002657/3.103, allocations: 1.776 MB / 1.633 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002127/3.105, allocations: 0.6101 MB / 1.633 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/3.105, allocations: 3.438 kB / 1.633 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004243/3.105, allocations: 167 kB / 1.633 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/3.108, allocations: 347 kB / 1.634 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/3.111, allocations: 1.055 MB / 1.635 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/3.112, allocations: 0.9928 MB / 1.636 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001371/3.113, allocations: 184.2 kB / 1.636 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/3.114, allocations: 296.4 kB / 1.636 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/3.114, allocations: 0 / 1.636 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05366/3.167, allocations: 24.56 MB / 1.66 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/3.168, allocations: 183.5 kB / 1.66 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/5.865, allocations: 0 / 1.66 GB, free: 199.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)