Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.617/1.617, allocations: 285.4 MB / 298 MB, free: 5.984 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.001017/0.001018, allocations: 180.8 kB / 366.4 MB, free: 2.066 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.798/1.798, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0008393/0.0008391, allocations: 95.25 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.253e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7697, allocations: 115.3 MB / 0.971 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.822, allocations: 396.7 MB / 1.358 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.822, allocations: 94.09 kB / 1.358 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4617/2.284, allocations: 235.9 MB / 1.589 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/2.284, allocations: 0 / 1.589 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.182e-05/2.284, allocations: 16 kB / 1.589 GB, free: 3.457 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002039/2.286, allocations: 0.9694 MB / 1.59 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/2.286, allocations: 8.031 kB / 1.59 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/2.286, allocations: 82.53 kB / 1.59 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/2.286, allocations: 87 kB / 1.59 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/2.287, allocations: 0.5112 MB / 1.591 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/2.287, allocations: 37 kB / 1.591 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/2.287, allocations: 52 kB / 1.591 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000923/2.288, allocations: 0.5666 MB / 1.591 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/2.288, allocations: 7.938 kB / 1.591 GB, free: 0.9766 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/2.288, allocations: 16 kB / 1.591 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/2.288, allocations: 16 kB / 1.591 GB, free: 0.9453 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/2.289, allocations: 402.8 kB / 1.592 GB, free: 0.5469 MB / 0.9167 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.004128/2.293, allocations: 3.208 MB / 1.595 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/2.294, allocations: 291.8 kB / 1.595 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/2.294, allocations: 184.8 kB / 1.595 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/2.294, allocations: 348.4 kB / 1.596 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/2.295, allocations: 34.56 kB / 1.596 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 3.707e-06/2.295, allocations: 0 / 1.596 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.0009505/2.295, allocations: 422.1 kB / 1.596 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/2.296, allocations: 63.09 kB / 1.596 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/2.296, allocations: 0.5072 MB / 1.596 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/2.296, allocations: 37.7 kB / 1.597 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/2.297, allocations: 328.4 kB / 1.597 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/2.297, allocations: 122.2 kB / 1.597 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/2.297, allocations: 16 kB / 1.597 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001812/2.297, allocations: 370.7 kB / 1.597 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/2.297, allocations: 161.5 kB / 1.597 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/2.298, allocations: 345.6 kB / 1.598 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/2.298, allocations: 213.5 kB / 1.598 GB, free: 9.539 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.298, allocations: 0 / 1.598 GB, free: 9.539 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001063/2.299, allocations: 0.6129 MB / 1.599 GB, free: 8.914 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008206/2.3, allocations: 1.748 MB / 1.6 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/2.3, allocations: 4 kB / 1.6 GB, free: 7.027 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/2.301, allocations: 136.7 kB / 1.6 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/2.301, allocations: 155.8 kB / 1.601 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006518/2.302, allocations: 0.6148 MB / 1.601 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/2.303, allocations: 107.4 kB / 1.601 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/2.303, allocations: 31.98 kB / 1.601 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/2.303, allocations: 4 kB / 1.601 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009028/2.304, allocations: 0.5141 MB / 1.602 GB, free: 5.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/2.304, allocations: 8 kB / 1.602 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/2.304, allocations: 11.95 kB / 1.602 GB, free: 5.426 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/2.305, allocations: 159.8 kB / 1.602 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/2.305, allocations: 15.94 kB / 1.602 GB, free: 5.254 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/2.305, allocations: 99.44 kB / 1.602 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/2.305, allocations: 35.98 kB / 1.602 GB, free: 5.121 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001749/2.305, allocations: 140.8 kB / 1.602 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/2.306, allocations: 59.25 kB / 1.602 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/2.307, allocations: 0.5575 MB / 1.603 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/2.307, allocations: 11.95 kB / 1.603 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.307, allocations: 0 / 1.603 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/2.307, allocations: 3.984 kB / 1.603 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/2.309, allocations: 1.27 MB / 1.604 GB, free: 2.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/2.309, allocations: 4 kB / 1.604 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/2.31, allocations: 91.98 kB / 1.604 GB, free: 2.895 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/2.31, allocations: 120.7 kB / 1.604 GB, free: 2.773 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/2.31, allocations: 11.98 kB / 1.604 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006124/2.311, allocations: 0.6187 MB / 1.605 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.311, allocations: 0 / 1.605 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/2.312, allocations: 0.6627 MB / 1.606 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/2.312, allocations: 200.1 kB / 1.606 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/2.312, allocations: 15.92 kB / 1.606 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/2.313, allocations: 55.95 kB / 1.606 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/2.313, allocations: 35.91 kB / 1.606 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/2.313, allocations: 19.98 kB / 1.606 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00054/2.313, allocations: 383.2 kB / 1.606 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.01e-07/2.313, allocations: 0 / 1.606 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001591/2.315, allocations: 411.5 kB / 1.607 GB, free: 304 kB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002443/2.317, allocations: 1.729 MB / 1.608 GB, free: 14.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001729/2.319, allocations: 0.7611 MB / 1.609 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.319, allocations: 0 / 1.609 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/2.32, allocations: 251.7 kB / 1.609 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/2.321, allocations: 258.7 kB / 1.61 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/2.323, allocations: 0.9426 MB / 1.611 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/2.324, allocations: 0.9208 MB / 1.611 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007806/2.325, allocations: 176.8 kB / 1.612 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/2.325, allocations: 235.3 kB / 1.612 GB, free: 10.91 MB / 0.948 GB Notification: Performance of SimCode: time 2.033e-06/2.325, allocations: 3.938 kB / 1.612 GB, free: 10.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6413/2.966, allocations: 20.45 MB / 1.632 GB, free: 259.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/2.967, allocations: 248.3 kB / 1.632 GB, free: 258.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/5.836, allocations: 0 / 1.632 GB, free: 258.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)