Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.363/2.363, allocations: 251 MB / 265.9 MB, free: 11.69 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.001626/0.001625, allocations: 174.8 kB / 325.5 MB, free: 2.895 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.391/2.391, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001156/0.001155, allocations: 95.48 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006798/0.0006799, allocations: 13.38 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2404, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.505, allocations: 371.1 MB / 1.261 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/1.506, allocations: 86.95 kB / 1.261 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.581/3.087, allocations: 245.4 MB / 1.501 GB, free: 256.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/3.087, allocations: 4 kB / 1.501 GB, free: 256.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.965e-05/3.087, allocations: 19.75 kB / 1.501 GB, free: 256.4 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002457/3.089, allocations: 0.9344 MB / 1.502 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/3.089, allocations: 12.03 kB / 1.502 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/3.089, allocations: 62.53 kB / 1.502 GB, free: 255.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/3.09, allocations: 67.2 kB / 1.502 GB, free: 255.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/3.091, allocations: 476.4 kB / 1.502 GB, free: 254.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/3.091, allocations: 32.66 kB / 1.502 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/3.091, allocations: 36 kB / 1.502 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009461/3.092, allocations: 302 kB / 1.503 GB, free: 254.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/3.092, allocations: 0 / 1.503 GB, free: 254.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/3.092, allocations: 12 kB / 1.503 GB, free: 254.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/3.092, allocations: 19.89 kB / 1.503 GB, free: 254.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009885/3.093, allocations: 274.4 kB / 1.503 GB, free: 254.1 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.003155/3.096, allocations: 1.326 MB / 1.504 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000977/3.097, allocations: 281.5 kB / 1.505 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/3.098, allocations: 0.4947 MB / 1.505 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/3.098, allocations: 34.56 kB / 1.505 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.845e-06/3.098, allocations: 0 / 1.505 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.00284/3.1, allocations: 0.5792 MB / 1.506 GB, free: 251.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/3.101, allocations: 51.41 kB / 1.506 GB, free: 251.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/3.101, allocations: 409.3 kB / 1.506 GB, free: 250.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/3.101, allocations: 33.7 kB / 1.506 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/3.101, allocations: 251.5 kB / 1.506 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/3.102, allocations: 82.75 kB / 1.506 GB, free: 250.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/3.102, allocations: 12 kB / 1.506 GB, free: 250.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001066/3.102, allocations: 354.8 kB / 1.507 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/3.102, allocations: 116.5 kB / 1.507 GB, free: 249.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/3.103, allocations: 227.3 kB / 1.507 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/3.103, allocations: 138.8 kB / 1.507 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/3.103, allocations: 0 / 1.507 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001492/3.105, allocations: 424 kB / 1.508 GB, free: 249 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/3.105, allocations: 278.9 kB / 1.508 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/3.105, allocations: 0 / 1.508 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/3.105, allocations: 43.56 kB / 1.508 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/3.106, allocations: 75.89 kB / 1.508 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000506/3.107, allocations: 0.5602 MB / 1.509 GB, free: 248 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/3.108, allocations: 79.62 kB / 1.509 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/3.108, allocations: 15.94 kB / 1.509 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/3.108, allocations: 5.25 kB / 1.509 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/3.109, allocations: 316.1 kB / 1.509 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/3.109, allocations: 4 kB / 1.509 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/3.109, allocations: 4 kB / 1.509 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/3.11, allocations: 87.88 kB / 1.509 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/3.11, allocations: 7.984 kB / 1.509 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009639/3.111, allocations: 59.8 kB / 1.509 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/3.111, allocations: 15.98 kB / 1.509 GB, free: 247.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * 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.0003494/3.111, allocations: 256.9 kB / 1.509 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/3.111, allocations: 55.33 kB / 1.509 GB, free: 247.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/3.113, allocations: 429 kB / 1.51 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/3.113, allocations: 3.984 kB / 1.51 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/3.113, allocations: 3.875 kB / 1.51 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/3.113, allocations: 8 kB / 1.51 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/3.115, allocations: 0.9463 MB / 1.511 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/3.115, allocations: 0 / 1.511 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/3.115, allocations: 47.97 kB / 1.511 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/3.116, allocations: 44.95 kB / 1.511 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/3.116, allocations: 11.98 kB / 1.511 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003649/3.116, allocations: 0.5639 MB / 1.511 GB, free: 245 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/3.116, allocations: 3.938 kB / 1.511 GB, free: 245 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/3.117, allocations: 0.5414 MB / 1.512 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/3.118, allocations: 160.4 kB / 1.512 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.005e-05/3.118, allocations: 4 kB / 1.512 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/3.118, allocations: 47.86 kB / 1.512 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/3.119, allocations: 27.92 kB / 1.512 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/3.119, allocations: 12 kB / 1.512 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004889/3.119, allocations: 318.9 kB / 1.513 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/3.119, allocations: 0 / 1.513 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001244/3.12, allocations: 275.6 kB / 1.513 GB, free: 243.5 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.002257/3.123, allocations: 1.618 MB / 1.514 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001923/3.125, allocations: 490.4 kB / 1.515 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/3.125, allocations: 0 / 1.515 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/3.125, allocations: 172.1 kB / 1.515 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/3.128, allocations: 251.1 kB / 1.515 GB, free: 241 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/3.13, allocations: 1.644 MB / 1.517 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/3.131, allocations: 0.8708 MB / 1.518 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008/3.132, allocations: 112.4 kB / 1.518 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/3.132, allocations: 171.4 kB / 1.518 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/3.132, allocations: 0 / 1.518 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05571/3.188, allocations: 16.15 MB / 1.534 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/3.188, allocations: 258.1 kB / 1.534 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/6.306, allocations: 0 / 1.534 GB, free: 221.9 MB / 0.8855 GB