Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.458/2.458, 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.00158/0.00158, allocations: 177.4 kB / 325.5 MB, free: 2.902 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.375/2.375, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001094/0.001094, allocations: 96.11 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004907, allocations: 10.84 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.478, allocations: 389 MB / 1.279 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/1.479, allocations: 101.9 kB / 1.279 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.41/2.889, allocations: 230.2 MB / 1.504 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.355e-06/2.889, allocations: 0 / 1.504 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.674e-05/2.889, allocations: 20 kB / 1.504 GB, free: 253.7 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002927/2.892, allocations: 1.073 MB / 1.505 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/2.892, allocations: 12.03 kB / 1.505 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/2.892, allocations: 90.52 kB / 1.505 GB, free: 252.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/2.892, allocations: 86.92 kB / 1.505 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/2.894, allocations: 0.5126 MB / 1.505 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/2.894, allocations: 37 kB / 1.505 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/2.894, allocations: 56 kB / 1.505 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/2.895, allocations: 0.6254 MB / 1.506 GB, free: 251.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/2.895, allocations: 3.938 kB / 1.506 GB, free: 251.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/2.895, allocations: 20 kB / 1.506 GB, free: 251.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/2.895, allocations: 12 kB / 1.506 GB, free: 251 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/2.897, allocations: 0.5034 MB / 1.507 GB, free: 250.5 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.005189/2.902, allocations: 3.202 MB / 1.51 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/2.904, allocations: 340.3 kB / 1.51 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/2.904, allocations: 352.2 kB / 1.51 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/2.904, allocations: 34.56 kB / 1.51 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=38): time 3.486e-06/2.904, allocations: 4.031 kB / 1.51 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.003428/2.908, allocations: 0.8352 MB / 1.511 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/2.908, allocations: 55.41 kB / 1.511 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/2.908, allocations: 0.5033 MB / 1.512 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/2.909, allocations: 37.7 kB / 1.512 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/2.909, allocations: 331 kB / 1.512 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/2.909, allocations: 129.6 kB / 1.512 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/2.909, allocations: 12 kB / 1.512 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001182/2.909, allocations: 374.7 kB / 1.513 GB, free: 244 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/2.91, allocations: 221.2 kB / 1.513 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/2.911, allocations: 392.3 kB / 1.513 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/2.912, allocations: 256.7 kB / 1.513 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/2.912, allocations: 4 kB / 1.513 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002337/2.914, allocations: 0.7105 MB / 1.514 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004044/2.915, allocations: 1.752 MB / 1.516 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/2.915, allocations: 4 kB / 1.516 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/2.916, allocations: 148.8 kB / 1.516 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/2.917, allocations: 163.8 kB / 1.516 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008794/2.918, allocations: 0.6225 MB / 1.517 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/2.919, allocations: 111.4 kB / 1.517 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/2.919, allocations: 35.98 kB / 1.517 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/2.919, allocations: 4 kB / 1.517 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001994/2.921, allocations: 0.6076 MB / 1.518 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/2.921, allocations: 7.984 kB / 1.518 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/2.921, allocations: 11.95 kB / 1.518 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/2.922, allocations: 159.8 kB / 1.518 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/2.922, allocations: 15.92 kB / 1.518 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/2.924, allocations: 95.72 kB / 1.518 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/2.924, allocations: 39.98 kB / 1.518 GB, free: 238.5 MB / 0.8855 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 () * Number of clocked 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.0004801/2.924, allocations: 264.9 kB / 1.518 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/2.924, allocations: 63.16 kB / 1.518 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/2.927, allocations: 0.6587 MB / 1.519 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/2.927, allocations: 11.94 kB / 1.519 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/2.927, allocations: 7.984 kB / 1.519 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/2.927, allocations: 0 / 1.519 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/2.931, allocations: 1.37 MB / 1.52 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/2.931, allocations: 8 kB / 1.52 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/2.931, allocations: 87.98 kB / 1.52 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007649/2.932, allocations: 132.8 kB / 1.52 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/2.932, allocations: 19.98 kB / 1.52 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008278/2.933, allocations: 0.6304 MB / 1.521 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.933, allocations: 8.016 kB / 1.521 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/2.935, allocations: 0.7525 MB / 1.522 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/2.936, allocations: 196 kB / 1.522 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/2.936, allocations: 12 kB / 1.522 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008344/2.937, allocations: 59.84 kB / 1.522 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/2.937, allocations: 35.91 kB / 1.522 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/2.937, allocations: 19.98 kB / 1.522 GB, free: 234 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006286/2.938, allocations: 391.1 kB / 1.522 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.51e-07/2.938, allocations: 0 / 1.522 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001916/2.939, allocations: 419.4 kB / 1.523 GB, free: 233.2 MB / 0.8855 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 () * Number of clocked 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.003561/2.943, allocations: 1.81 MB / 1.525 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003395/2.946, allocations: 0.9028 MB / 1.525 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.947, allocations: 0 / 1.525 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/2.948, allocations: 299.9 kB / 1.526 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/2.95, allocations: 256.9 kB / 1.526 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/2.955, allocations: 4.646 MB / 1.531 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/2.956, allocations: 0.9197 MB / 1.531 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001111/2.957, allocations: 154.9 kB / 1.532 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/2.957, allocations: 243.3 kB / 1.532 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.212e-06/2.957, allocations: 0 / 1.532 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06708/3.024, allocations: 19.12 MB / 1.55 GB, free: 205 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/3.025, allocations: 269.1 kB / 1.551 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/6.216, allocations: 0 / 1.551 GB, free: 204.7 MB / 0.8855 GB