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.07/2.07, allocations: 251.1 MB / 266.1 MB, free: 11.6 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.002096/0.002097, allocations: 180.4 kB / 325.6 MB, free: 2.812 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.554/2.554, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001134/0.001134, allocations: 101.4 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004511, allocations: 11.47 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.238/0.4686, allocations: 132 MB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.469, allocations: 79.95 kB / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.4895, allocations: 3.438 MB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.264e-06/0.4895, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.4896, allocations: 3.938 kB / 1.031 GB, free: 9.668 MB / 0.6823 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.0005258/0.4901, allocations: 352.6 kB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.4902, allocations: 8.031 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.4903, allocations: 3.953 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.4905, allocations: 163.1 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4905, allocations: 4 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.4906, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.4907, allocations: 33.7 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4907, allocations: 3.938 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4908, allocations: 0 / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4908, allocations: 0 / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.025e-05/0.4909, allocations: 4 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.4911, allocations: 157.6 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.804e-05/0.4912, allocations: 30.55 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.4913, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4913, allocations: 34.56 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.4914, allocations: 0 / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001994/0.4916, allocations: 41.75 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.4916, allocations: 59.34 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.4917, allocations: 85 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.4918, allocations: 25.7 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.4918, allocations: 80.14 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.4919, allocations: 12.16 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.4919, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4921, allocations: 322.8 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.4921, allocations: 0 / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.4921, allocations: 4 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.4922, allocations: 4 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4922, allocations: 0 / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.4923, allocations: 37.7 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4924, allocations: 4.094 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4924, allocations: 7.984 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4924, allocations: 0 / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.4927, allocations: 11.94 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005899/0.4934, allocations: 0.5821 MB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.4934, allocations: 4.031 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4934, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 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 0.0001242/0.4936, allocations: 117.9 kB / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.4936, allocations: 3.906 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.4938, allocations: 48.75 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.4938, allocations: 4 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4939, allocations: 0 / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4939, allocations: 3.953 kB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.4941, allocations: 145.7 kB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4941, allocations: 4 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.4943, allocations: 12.02 kB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.4944, allocations: 4 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4944, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005235/0.4949, allocations: 0.5821 MB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4949, allocations: 0 / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.4951, allocations: 73.12 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.4952, allocations: 81.11 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.4952, allocations: 0 / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.4953, allocations: 3.953 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.4953, allocations: 7.984 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.4953, allocations: 0 / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.4954, allocations: 79.28 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/0.4954, allocations: 0 / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004028/0.4958, allocations: 15.94 kB / 1.034 GB, free: 6.09 MB / 0.6823 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.0002715/0.4961, allocations: 115.4 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.4964, allocations: 19.98 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4965, allocations: 0 / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.4967, allocations: 11.94 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.4969, allocations: 4 kB / 1.035 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.4973, allocations: 115.2 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4977, allocations: 0.677 MB / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.4978, allocations: 0 / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.4978, allocations: 7.438 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/0.4978, allocations: 0 / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of Templates: time 0.003344/0.5012, allocations: 408.4 kB / 1.036 GB, free: 4.691 MB / 0.6823 GB