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.357/2.357, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001645, allocations: 175.6 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.416/2.416, allocations: 205.4 MB / 0.5764 GB, free: 20.76 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.001158/0.001158, allocations: 96.22 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005068, allocations: 13.59 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2182, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.456, allocations: 393.2 MB / 1.283 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/1.456, allocations: 101.5 kB / 1.283 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.86/3.316, allocations: 353 MB / 1.628 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.106e-06/3.316, allocations: 0 / 1.628 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001397/3.317, allocations: 27.98 kB / 1.628 GB, free: 125.8 MB / 0.8855 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.004283/3.321, allocations: 1.324 MB / 1.629 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/3.321, allocations: 8.031 kB / 1.629 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000271/3.321, allocations: 94.47 kB / 1.629 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/3.322, allocations: 114.8 kB / 1.629 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/3.324, allocations: 0.688 MB / 1.63 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/3.324, allocations: 64.94 kB / 1.63 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/3.325, allocations: 88 kB / 1.63 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/3.326, allocations: 0.5451 MB / 1.63 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/3.326, allocations: 0 / 1.63 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/3.326, allocations: 23.95 kB / 1.63 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/3.326, allocations: 12 kB / 1.63 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/3.327, allocations: 399.7 kB / 1.631 GB, free: 122.3 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006752/3.334, allocations: 2.517 MB / 1.633 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/3.335, allocations: 266.6 kB / 1.634 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/3.335, allocations: 352.4 kB / 1.634 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/3.335, allocations: 34.56 kB / 1.634 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 3.156e-06/3.335, allocations: 0 / 1.634 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.002113/3.338, allocations: 490.3 kB / 1.634 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/3.338, allocations: 55.41 kB / 1.634 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/3.339, allocations: 0.6568 MB / 1.635 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000323/3.339, allocations: 45.7 kB / 1.635 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/3.34, allocations: 450.4 kB / 1.636 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/3.34, allocations: 90.66 kB / 1.636 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/3.34, allocations: 8 kB / 1.636 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/3.34, allocations: 326 kB / 1.636 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/3.341, allocations: 157 kB / 1.636 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/3.342, allocations: 0.7973 MB / 1.637 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/3.343, allocations: 239.1 kB / 1.637 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.976e-06/3.343, allocations: 8 kB / 1.637 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002035/3.345, allocations: 0.5457 MB / 1.638 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/3.345, allocations: 0.794 MB / 1.638 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/3.345, allocations: 4 kB / 1.638 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/3.345, allocations: 7.953 kB / 1.638 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/3.348, allocations: 179.7 kB / 1.639 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/3.349, allocations: 2.364 MB / 1.641 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/3.352, allocations: 395.6 kB / 1.641 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/3.353, allocations: 31.92 kB / 1.641 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/3.353, allocations: 6.344 kB / 1.641 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001587/3.354, allocations: 446.1 kB / 1.642 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/3.354, allocations: 0 / 1.642 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/3.354, allocations: 4 kB / 1.642 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/3.356, allocations: 131.9 kB / 1.642 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/3.356, allocations: 19.88 kB / 1.642 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/3.359, allocations: 383.8 kB / 1.642 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/3.359, allocations: 20 kB / 1.642 GB, free: 109.9 MB / 0.8855 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 () * Number of clocked 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.0007939/3.36, allocations: 297.6 kB / 1.643 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/3.36, allocations: 82.91 kB / 1.643 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/3.362, allocations: 485.7 kB / 1.643 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/3.362, allocations: 7.984 kB / 1.643 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/3.362, allocations: 7.891 kB / 1.643 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/3.362, allocations: 0 / 1.643 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/3.365, allocations: 1.138 MB / 1.644 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/3.365, allocations: 0 / 1.644 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/3.366, allocations: 99.88 kB / 1.644 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/3.366, allocations: 4 kB / 1.644 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/3.366, allocations: 19.86 kB / 1.644 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009776/3.367, allocations: 2.344 MB / 1.647 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/3.367, allocations: 4.312 kB / 1.647 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/3.369, allocations: 0.5861 MB / 1.647 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/3.369, allocations: 191.9 kB / 1.647 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/3.37, allocations: 15.97 kB / 1.647 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009602/3.371, allocations: 67.78 kB / 1.648 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/3.371, allocations: 23.97 kB / 1.648 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/3.371, allocations: 12 kB / 1.648 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009308/3.372, allocations: 0.5029 MB / 1.648 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/3.372, allocations: 0 / 1.648 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002323/3.374, allocations: 0.4993 MB / 1.649 GB, free: 103.3 MB / 0.8855 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 () * Number of clocked 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.002815/3.377, allocations: 1.767 MB / 1.65 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003367/3.38, allocations: 0.6853 MB / 1.651 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/3.38, allocations: 4 kB / 1.651 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009301/3.381, allocations: 195.8 kB / 1.651 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/3.385, allocations: 425.1 kB / 1.652 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/3.39, allocations: 3.201 MB / 1.655 GB, free: 96.87 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/3.391, allocations: 0.9862 MB / 1.656 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001399/3.392, allocations: 169.9 kB / 1.656 GB, free: 95.69 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007127/3.393, allocations: 307.3 kB / 1.656 GB, free: 95.39 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/3.393, allocations: 0 / 1.656 GB, free: 95.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/3.489, allocations: 27.87 MB / 1.683 GB, free: 67.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003017/3.489, allocations: 264.4 kB / 1.684 GB, free: 67.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.008/7.497, allocations: 3.938 kB / 1.684 GB, free: 67.6 MB / 0.8855 GB