Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.139/2.139, allocations: 251 MB / 265.9 MB, free: 11.68 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.001627/0.001627, allocations: 179.3 kB / 325.5 MB, free: 2.891 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.403/2.403, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.00109/0.00109, allocations: 99.11 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006716/0.0006717, allocations: 15.47 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2161, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.469, allocations: 395.5 MB / 1.285 GB, free: 7.137 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004038/1.469, allocations: 106.4 kB / 1.285 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.253/2.722, allocations: 170.7 MB / 1.452 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.805e-06/2.722, allocations: 0 / 1.452 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.43e-05/2.722, allocations: 19.56 kB / 1.452 GB, free: 283.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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002034/2.724, allocations: 0.8716 MB / 1.453 GB, free: 283.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/2.724, allocations: 10.91 kB / 1.453 GB, free: 283.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/2.724, allocations: 60.47 kB / 1.453 GB, free: 283.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/2.724, allocations: 66.39 kB / 1.453 GB, free: 283.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/2.725, allocations: 465.1 kB / 1.453 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/2.726, allocations: 26.06 kB / 1.453 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/2.726, allocations: 27.97 kB / 1.453 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/2.726, allocations: 280.9 kB / 1.454 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/2.726, allocations: 0 / 1.454 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/2.726, allocations: 17.48 kB / 1.454 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/2.726, allocations: 7.625 kB / 1.454 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/2.727, allocations: 206.4 kB / 1.454 GB, free: 282.8 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.002804/2.73, allocations: 1.313 MB / 1.455 GB, free: 282.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/2.73, allocations: 197 kB / 1.455 GB, free: 282.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/2.733, allocations: 1.318 MB / 1.457 GB, free: 281 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/2.733, allocations: 36.62 kB / 1.457 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 3.317e-06/2.733, allocations: 0 / 1.457 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.001025/2.734, allocations: 295.2 kB / 1.457 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/2.734, allocations: 55.31 kB / 1.457 GB, free: 280.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/2.735, allocations: 0.5083 MB / 1.457 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/2.735, allocations: 35.39 kB / 1.457 GB, free: 280.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/2.735, allocations: 269.4 kB / 1.458 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/2.735, allocations: 61.67 kB / 1.458 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/2.735, allocations: 3.375 kB / 1.458 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001079/2.735, allocations: 361 kB / 1.458 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/2.736, allocations: 89.56 kB / 1.458 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/2.736, allocations: 228.1 kB / 1.458 GB, free: 280 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/2.736, allocations: 113.6 kB / 1.459 GB, free: 280 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/2.736, allocations: 0 / 1.459 GB, free: 280 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001019/2.737, allocations: 326.1 kB / 1.459 GB, free: 280 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/2.738, allocations: 0.7942 MB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/2.738, allocations: 2.875 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/2.738, allocations: 3.844 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/2.738, allocations: 75.69 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/2.738, allocations: 3.75 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/2.739, allocations: 50.5 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/2.739, allocations: 20.11 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/2.739, allocations: 5.312 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007651/2.74, allocations: 248.2 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/2.74, allocations: 3.953 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.894e-06/2.74, allocations: 3.219 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/2.74, allocations: 68.75 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/2.74, allocations: 14.02 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/2.741, allocations: 47.88 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/2.741, allocations: 14.08 kB / 1.46 GB, free: 279.1 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003468/2.741, allocations: 263.6 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/2.741, allocations: 53.47 kB / 1.46 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009127/2.742, allocations: 288 kB / 1.461 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/2.742, allocations: 6.922 kB / 1.461 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/2.742, allocations: 0 / 1.461 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/2.742, allocations: 2.875 kB / 1.461 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/2.744, allocations: 0.7922 MB / 1.462 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/2.744, allocations: 3.75 kB / 1.462 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/2.744, allocations: 43.84 kB / 1.462 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/2.744, allocations: 6.469 kB / 1.462 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/2.744, allocations: 5.781 kB / 1.462 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/2.744, allocations: 0 / 1.462 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.744, allocations: 3.812 kB / 1.462 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/2.746, allocations: 0.5281 MB / 1.462 GB, free: 278.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/2.746, allocations: 161.3 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/2.746, allocations: 7.531 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/2.746, allocations: 29.56 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/2.746, allocations: 14.89 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/2.747, allocations: 10.8 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000689/2.747, allocations: 405.1 kB / 1.463 GB, free: 278 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.6e-07/2.747, allocations: 3.906 kB / 1.463 GB, free: 278 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00128/2.749, allocations: 266.8 kB / 1.463 GB, free: 277.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003065/2.752, allocations: 1.845 MB / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001294/2.753, allocations: 377.8 kB / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/2.753, allocations: 0 / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/2.753, allocations: 112.9 kB / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/2.756, allocations: 256.6 kB / 1.465 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/2.759, allocations: 2.735 MB / 1.468 GB, free: 274.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/2.759, allocations: 0.8555 MB / 1.469 GB, free: 273.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007293/2.76, allocations: 113.1 kB / 1.469 GB, free: 273.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/2.76, allocations: 163.9 kB / 1.469 GB, free: 273.9 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/2.76, allocations: 4 kB / 1.469 GB, free: 273.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/2.814, allocations: 16.27 MB / 1.485 GB, free: 270.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/2.814, allocations: 226 kB / 1.485 GB, free: 269.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/5.947, allocations: 0 / 1.485 GB, free: 269.9 MB / 0.8855 GB