Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.644/1.644, allocations: 285.4 MB / 298 MB, free: 6.016 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.00117/0.00117, allocations: 180.8 kB / 366.4 MB, free: 2.113 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.845/1.845, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008987/0.0008987, allocations: 103.4 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.388e-05/4.39e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7674, allocations: 115.3 MB / 0.971 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.962, allocations: 401.2 MB / 1.363 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.962, allocations: 99.34 kB / 1.363 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.708/3.67, allocations: 429.2 MB / 1.782 GB, free: 217.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/3.67, allocations: 0 / 1.782 GB, free: 217.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001131/3.671, allocations: 46.42 kB / 1.782 GB, free: 217.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003266/3.674, allocations: 1.318 MB / 1.783 GB, free: 216.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/3.674, allocations: 7.812 kB / 1.783 GB, free: 216.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/3.674, allocations: 100.4 kB / 1.783 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/3.675, allocations: 159.4 kB / 1.784 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/3.676, allocations: 0.8189 MB / 1.784 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/3.676, allocations: 81.31 kB / 1.784 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/3.677, allocations: 120 kB / 1.785 GB, free: 215.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/3.678, allocations: 0.5986 MB / 1.785 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/3.678, allocations: 0 / 1.785 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/3.678, allocations: 24 kB / 1.785 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/3.678, allocations: 19.98 kB / 1.785 GB, free: 214.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/3.678, allocations: 417 kB / 1.786 GB, free: 214.5 MB / 0.948 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.006125/3.685, allocations: 3.067 MB / 1.789 GB, free: 211.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/3.685, allocations: 303.9 kB / 1.789 GB, free: 211 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/3.686, allocations: 137.4 kB / 1.789 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/3.686, allocations: 348 kB / 1.789 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/3.686, allocations: 34.84 kB / 1.789 GB, free: 210.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 4.058e-06/3.686, allocations: 0 / 1.789 GB, free: 210.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001224/3.687, allocations: 410.4 kB / 1.79 GB, free: 210 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/3.687, allocations: 55.41 kB / 1.79 GB, free: 210 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/3.688, allocations: 0.7573 MB / 1.791 GB, free: 209.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003768/3.689, allocations: 57.7 kB / 1.791 GB, free: 209.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/3.689, allocations: 0.5556 MB / 1.791 GB, free: 208.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/3.689, allocations: 108.6 kB / 1.791 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/3.69, allocations: 16 kB / 1.791 GB, free: 208.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/3.69, allocations: 326 kB / 1.792 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/3.69, allocations: 161.5 kB / 1.792 GB, free: 208 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/3.691, allocations: 1.398 MB / 1.793 GB, free: 206.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/3.692, allocations: 297.6 kB / 1.793 GB, free: 205.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/3.692, allocations: 0 / 1.793 GB, free: 205.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001299/3.693, allocations: 0.5993 MB / 1.794 GB, free: 205.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/3.693, allocations: 0.8161 MB / 1.795 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/3.693, allocations: 3.938 kB / 1.795 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/3.693, allocations: 4 kB / 1.795 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/3.695, allocations: 203.6 kB / 1.795 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/3.696, allocations: 2.965 MB / 1.798 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/3.7, allocations: 0.917 MB / 1.799 GB, free: 200.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/3.7, allocations: 27.98 kB / 1.799 GB, free: 200.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/3.7, allocations: 4 kB / 1.799 GB, free: 200.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008191/3.701, allocations: 469.1 kB / 1.799 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/3.701, allocations: 0 / 1.799 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/3.701, allocations: 8 kB / 1.799 GB, free: 199.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/3.701, allocations: 160 kB / 1.799 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/3.701, allocations: 7.984 kB / 1.799 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/3.705, allocations: 0.8977 MB / 1.8 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/3.705, allocations: 27.98 kB / 1.8 GB, free: 198.6 MB / 0.948 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006367/3.706, allocations: 165.9 kB / 1.801 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/3.706, allocations: 94.78 kB / 1.801 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/3.708, allocations: 0.4916 MB / 1.801 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/3.708, allocations: 7.984 kB / 1.801 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/3.708, allocations: 0 / 1.801 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/3.708, allocations: 0 / 1.801 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/3.71, allocations: 1.244 MB / 1.802 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/3.71, allocations: 0 / 1.802 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/3.711, allocations: 119.8 kB / 1.802 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/3.711, allocations: 7.953 kB / 1.802 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/3.711, allocations: 11.98 kB / 1.802 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/3.712, allocations: 2.938 MB / 1.805 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/3.712, allocations: 11.83 kB / 1.805 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/3.713, allocations: 0.5913 MB / 1.806 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/3.713, allocations: 223.6 kB / 1.806 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/3.714, allocations: 8 kB / 1.806 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/3.715, allocations: 71.92 kB / 1.806 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/3.715, allocations: 27.91 kB / 1.806 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/3.715, allocations: 15.98 kB / 1.806 GB, free: 192.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001556/3.717, allocations: 0.5735 MB / 1.807 GB, free: 191.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/3.717, allocations: 4 kB / 1.807 GB, free: 191.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004325/3.721, allocations: 0.601 MB / 1.807 GB, free: 191.2 MB / 0.948 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003068/3.725, allocations: 1.815 MB / 1.809 GB, free: 189.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004027/3.729, allocations: 0.7746 MB / 1.81 GB, free: 188.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.443e-06/3.729, allocations: 0 / 1.81 GB, free: 188.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/3.729, allocations: 211.7 kB / 1.81 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/3.734, allocations: 483.2 kB / 1.811 GB, free: 187.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/3.74, allocations: 1.316 MB / 1.812 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/3.74, allocations: 1.048 MB / 1.813 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003101/3.743, allocations: 273 kB / 1.813 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/3.744, allocations: 355.3 kB / 1.813 GB, free: 184.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.944e-06/3.744, allocations: 0 / 1.813 GB, free: 184.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09112/3.835, allocations: 38.72 MB / 1.851 GB, free: 146.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/3.836, allocations: 226.9 kB / 1.852 GB, free: 146.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.575/7.411, allocations: 0 / 1.852 GB, free: 146.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)