Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.331/2.331, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002208/0.002208, allocations: 178 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.73/2.73, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 106.2 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 18.75 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001393/0.2178, allocations: 0.969 MB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.2184, allocations: 321.2 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.2185, allocations: 0 / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.2185, allocations: 0 / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.2186, allocations: 3.984 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.219, allocations: 67.8 kB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.219, allocations: 7.969 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.2191, allocations: 4 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.2191, allocations: 0 / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.56e-05/0.2191, allocations: 11.94 kB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2192, allocations: 0 / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.2195, allocations: 179.7 kB / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.2196, allocations: 3.984 kB / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.2196, allocations: 33.64 kB / 0.9004 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2197, allocations: 47.89 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2198, allocations: 4 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2198, allocations: 0 / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2198, allocations: 0 / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002997/0.2201, allocations: 335.3 kB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2201, allocations: 12.03 kB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.2202, allocations: 0 / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.2203, allocations: 167 kB / 0.901 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2203, allocations: 0 / 0.901 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2203, allocations: 8 kB / 0.901 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.2204, allocations: 25.7 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2204, allocations: 0 / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.2205, allocations: 8 kB / 0.901 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2205, allocations: 0 / 0.901 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.2205, allocations: 11.86 kB / 0.901 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.2206, allocations: 153.6 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.13e-05/0.2207, allocations: 22.55 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2207, allocations: 8.062 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2208, allocations: 34.55 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2208, allocations: 0 / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.2209, allocations: 41.64 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.221, allocations: 51.41 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.221, allocations: 93.86 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.2211, allocations: 25.95 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.169e-05/0.2211, allocations: 92.12 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2211, allocations: 7.906 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.2211, allocations: 0 / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.2212, allocations: 314.8 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.2212, allocations: 0 / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.2212, allocations: 4 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.2213, allocations: 4 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2213, allocations: 0 / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.378e-05/0.2214, allocations: 45.75 kB / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2214, allocations: 7.938 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2214, allocations: 0 / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2214, allocations: 0 / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.2217, allocations: 8 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002963/0.222, allocations: 0.5821 MB / 0.9025 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.222, allocations: 7.984 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2221, allocations: 8.031 kB / 0.9025 GB, free: 61.99 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/0.2221, allocations: 115.2 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.2222, allocations: 0 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2223, allocations: 52.69 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.2223, allocations: 3.984 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2223, allocations: 4 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2223, allocations: 0 / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.469e-05/0.2224, allocations: 153.7 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2224, allocations: 0 / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.2226, allocations: 8.906 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2226, allocations: 0 / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2226, allocations: 8 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002479/0.2229, allocations: 0.5899 MB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2229, allocations: 3.938 kB / 0.9034 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.223, allocations: 65.2 kB / 0.9035 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.223, allocations: 77.11 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.223, allocations: 7.984 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.2231, allocations: 3.938 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.2231, allocations: 3.953 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2231, allocations: 0 / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.774e-05/0.2231, allocations: 79.28 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2232, allocations: 4.125 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002646/0.2234, allocations: 8 kB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.2236, allocations: 103.2 kB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.2239, allocations: 27.92 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2239, allocations: 0 / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.224, allocations: 11.98 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.2242, allocations: 4.125 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2245, allocations: 113.5 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2246, allocations: 0.677 MB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.2247, allocations: 7.938 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.2247, allocations: 7.438 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.2247, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.002823/0.2275, allocations: 408.9 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB