Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.168/2.168, allocations: 248.5 MB / 261.1 MB, free: 6.008 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.00152/0.00152, allocations: 178 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.2 MB / 0.571 GB, free: 11.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.002185/0.002185, allocations: 107 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.54e-05/4.559e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.849/2.045, allocations: 393.1 MB / 1.275 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004071/2.046, allocations: 97.39 kB / 1.275 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.812/3.857, allocations: 352 MB / 1.618 GB, free: 211 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.645e-06/3.857, allocations: 0 / 1.618 GB, free: 211 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001194/3.857, allocations: 40.8 kB / 1.618 GB, free: 211 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.003163/3.861, allocations: 1.149 MB / 1.62 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/3.861, allocations: 12.92 kB / 1.62 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/3.861, allocations: 92.94 kB / 1.62 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/3.861, allocations: 123.6 kB / 1.62 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/3.864, allocations: 0.6651 MB / 1.62 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/3.864, allocations: 62.34 kB / 1.62 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/3.864, allocations: 87.56 kB / 1.621 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/3.865, allocations: 0.5103 MB / 1.621 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/3.865, allocations: 3.594 kB / 1.621 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/3.865, allocations: 21.77 kB / 1.621 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/3.865, allocations: 13.06 kB / 1.621 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/3.866, allocations: 344.8 kB / 1.621 GB, free: 210.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.006508/3.873, allocations: 2.505 MB / 1.624 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/3.874, allocations: 253.8 kB / 1.624 GB, free: 209 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/3.874, allocations: 119.8 kB / 1.624 GB, free: 209 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/3.874, allocations: 341 kB / 1.625 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/3.874, allocations: 37.69 kB / 1.625 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/3.874, allocations: 0 / 1.625 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.001263/3.876, allocations: 333.6 kB / 1.625 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/3.876, allocations: 55.34 kB / 1.625 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/3.877, allocations: 0.6453 MB / 1.626 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002391/3.877, allocations: 49.53 kB / 1.626 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/3.878, allocations: 446.5 kB / 1.626 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/3.878, allocations: 100.3 kB / 1.626 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/3.878, allocations: 8 kB / 1.626 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.735e-05/3.878, allocations: 332.2 kB / 1.627 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/3.878, allocations: 125.1 kB / 1.627 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/3.88, allocations: 0.7699 MB / 1.627 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/3.88, allocations: 215.7 kB / 1.628 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/3.88, allocations: 0 / 1.628 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001634/3.882, allocations: 0.502 MB / 1.628 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/3.882, allocations: 0.7962 MB / 1.629 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/3.882, allocations: 5.859 kB / 1.629 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/3.882, allocations: 5.562 kB / 1.629 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/3.884, allocations: 171.4 kB / 1.629 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/3.885, allocations: 2.367 MB / 1.631 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/3.889, allocations: 396.1 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/3.889, allocations: 27.41 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/3.889, allocations: 4 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/3.89, allocations: 394.6 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/3.89, allocations: 5.734 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/3.89, allocations: 5.625 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/3.892, allocations: 139.9 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/3.892, allocations: 4.406 kB / 1.632 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/3.895, allocations: 383.5 kB / 1.633 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/3.895, allocations: 28.23 kB / 1.633 GB, free: 203.9 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 (62): * Single equations (assignments): 58 * 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.0003328/3.895, allocations: 150.7 kB / 1.633 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/3.896, allocations: 83.34 kB / 1.633 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/3.897, allocations: 432.7 kB / 1.633 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/3.897, allocations: 5.859 kB / 1.633 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/3.897, allocations: 3.953 kB / 1.633 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.028e-06/3.897, allocations: 3.891 kB / 1.633 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/3.9, allocations: 1.1 MB / 1.634 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.088e-06/3.9, allocations: 1.281 kB / 1.634 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/3.901, allocations: 103.7 kB / 1.634 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/3.901, allocations: 3.156 kB / 1.634 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/3.901, allocations: 8.938 kB / 1.634 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009459/3.902, allocations: 2.356 MB / 1.637 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/3.902, allocations: 8.172 kB / 1.637 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/3.903, allocations: 0.5257 MB / 1.637 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/3.903, allocations: 202.1 kB / 1.638 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/3.904, allocations: 6.062 kB / 1.638 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009195/3.904, allocations: 66.11 kB / 1.638 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/3.905, allocations: 26.44 kB / 1.638 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/3.905, allocations: 17.28 kB / 1.638 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009909/3.906, allocations: 0.4947 MB / 1.638 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/3.906, allocations: 0 / 1.638 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002502/3.908, allocations: 0.4911 MB / 1.639 GB, free: 200.4 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.002592/3.911, allocations: 1.726 MB / 1.64 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003112/3.914, allocations: 0.6378 MB / 1.641 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/3.914, allocations: 0 / 1.641 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007958/3.915, allocations: 185.1 kB / 1.641 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/3.919, allocations: 415.4 kB / 1.641 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/3.923, allocations: 1.113 MB / 1.643 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/3.924, allocations: 0.9917 MB / 1.644 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001932/3.926, allocations: 221.6 kB / 1.644 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/3.926, allocations: 297.6 kB / 1.644 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.333e-06/3.926, allocations: 1.188 kB / 1.644 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8562/4.782, allocations: 29.73 MB / 1.673 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/4.783, allocations: 215.8 kB / 1.673 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/8.768, allocations: 3.516 kB / 1.673 GB, free: 197.2 MB / 0.8698 GB