Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.72/2.72, allocations: 287.9 MB / 302.9 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 175.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.48 kB / 0.7434 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004653, allocations: 15.25 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01853/0.1773, allocations: 17.41 MB / 0.9958 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006159/0.1835, allocations: 3.965 MB / 0.9996 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.1842, allocations: 11.88 kB / 0.9996 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009315/0.1851, allocations: 266.7 kB / 0.9999 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.1877, allocations: 0.7899 MB / 1.001 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.1904, allocations: 0.7694 MB / 1.001 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.1919, allocations: 0.8359 MB / 1.002 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.1924, allocations: 355.2 kB / 1.003 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008148/0.1933, allocations: 466.5 kB / 1.003 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.1937, allocations: 318.7 kB / 1.003 GB, free: 3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/0.1938, allocations: 23.94 kB / 1.003 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00099/0.1948, allocations: 403.4 kB / 1.004 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1949, allocations: 95.62 kB / 1.004 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1951, allocations: 125.4 kB / 1.004 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006762/0.1958, allocations: 0.5144 MB / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.638e-06/0.1958, allocations: 0 / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.082e-06/0.1958, allocations: 4 kB / 1.004 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1e-05/0.1958, allocations: 0 / 1.004 GB, free: 1.84 MB / 0.6198 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.001361/0.1972, allocations: 0.8174 MB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1972, allocations: 8.031 kB / 1.005 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1973, allocations: 63.25 kB / 1.005 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.198, allocations: 434.9 kB / 1.006 GB, free: 448 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.198, allocations: 24.66 kB / 1.006 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.1981, allocations: 36 kB / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.1988, allocations: 318 kB / 1.006 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1988, allocations: 0 / 1.006 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.1989, allocations: 12 kB / 1.006 GB, free: 48 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.827e-06/0.1989, allocations: 4 kB / 1.006 GB, free: 44 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.1998, allocations: 290.3 kB / 1.006 GB, free: 15.76 MB / 0.6355 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.002913/0.2027, allocations: 1.36 MB / 1.008 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.2036, allocations: 286.5 kB / 1.008 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/0.2042, allocations: 0.4908 MB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2042, allocations: 34.56 kB / 1.008 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 3.682e-06/0.2042, allocations: 0 / 1.008 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.002224/0.2065, allocations: 0.5922 MB / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.2066, allocations: 55.41 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.2073, allocations: 462.1 kB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.2074, allocations: 33.7 kB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.2076, allocations: 248.4 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/0.2077, allocations: 86.75 kB / 1.01 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.2078, allocations: 4 kB / 1.01 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.208, allocations: 366.7 kB / 1.01 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.2084, allocations: 115.9 kB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.2089, allocations: 192.9 kB / 1.011 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.2094, allocations: 144.8 kB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.931e-06/0.2094, allocations: 0 / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001412/0.2108, allocations: 423.5 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.211, allocations: 277.1 kB / 1.011 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2111, allocations: 3.984 kB / 1.011 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/0.2115, allocations: 52.81 kB / 1.011 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.2119, allocations: 75.89 kB / 1.011 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005827/0.2125, allocations: 0.564 MB / 1.012 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.2132, allocations: 63.7 kB / 1.012 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.2133, allocations: 24.08 kB / 1.012 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2133, allocations: 7.953 kB / 1.012 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001019/0.2144, allocations: 317.9 kB / 1.012 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.454e-06/0.2144, allocations: 4 kB / 1.012 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.714e-06/0.2144, allocations: 3.938 kB / 1.012 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.2149, allocations: 91.88 kB / 1.013 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.215, allocations: 8.062 kB / 1.013 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.2156, allocations: 65.27 kB / 1.013 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.2157, allocations: 12 kB / 1.013 GB, free: 8.98 MB / 0.6355 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.0003773/0.216, allocations: 249 kB / 1.013 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2162, allocations: 47.39 kB / 1.013 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.2175, allocations: 444 kB / 1.013 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.2176, allocations: 4 kB / 1.013 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.175e-06/0.2176, allocations: 0 / 1.013 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.2176, allocations: 3.984 kB / 1.013 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.2198, allocations: 0.9671 MB / 1.014 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.615e-06/0.2198, allocations: 4 kB / 1.014 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.2201, allocations: 51.91 kB / 1.014 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.2204, allocations: 44.83 kB / 1.014 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.2204, allocations: 11.98 kB / 1.014 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/0.221, allocations: 0.5641 MB / 1.015 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.066e-06/0.221, allocations: 7.891 kB / 1.015 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2222, allocations: 0.5448 MB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.2225, allocations: 156.4 kB / 1.016 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.2226, allocations: 8 kB / 1.016 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.2231, allocations: 47.86 kB / 1.016 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/0.2232, allocations: 23.91 kB / 1.016 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.2232, allocations: 12 kB / 1.016 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005197/0.2238, allocations: 322.9 kB / 1.016 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.7e-07/0.2238, allocations: 4 kB / 1.016 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001016/0.2248, allocations: 251.5 kB / 1.016 GB, free: 5.051 MB / 0.6355 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.0006112/0.2254, allocations: 246.6 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.2271, allocations: 488.7 kB / 1.017 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.232e-06/0.2271, allocations: 4 kB / 1.017 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.2277, allocations: 175.8 kB / 1.017 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.2293, allocations: 259.8 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.2314, allocations: 0.9733 MB / 1.018 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.232, allocations: 0.8669 MB / 1.019 GB, free: 2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006865/0.2327, allocations: 116.7 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2329, allocations: 35.44 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of SimCode: time 1.495e-06/0.2329, allocations: 0 / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of Templates: time 0.02566/0.2585, allocations: 9.587 MB / 1.029 GB, free: 8.414 MB / 0.6511 GB