Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.3 MB / 303.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.001071, allocations: 183.4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008192, allocations: 90.91 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 12.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2032, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6923/0.8956, allocations: 138.7 MB / 1.115 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.8959, allocations: 80.25 kB / 1.115 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00847/0.9044, allocations: 2.829 MB / 1.118 GB, free: 32.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9045, allocations: 0 / 1.118 GB, free: 32.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.9045, allocations: 0 / 1.118 GB, free: 32.11 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003305/0.9048, allocations: 347.5 kB / 1.118 GB, free: 31.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9049, allocations: 15.55 kB / 1.118 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.9049, allocations: 4.531 kB / 1.118 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.905, allocations: 169.1 kB / 1.118 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.9051, allocations: 3.906 kB / 1.118 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.9051, allocations: 3.984 kB / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.9052, allocations: 49.28 kB / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9052, allocations: 0 / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.9052, allocations: 0 / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.9053, allocations: 0 / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.9053, allocations: 7.688 kB / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.9055, allocations: 160.7 kB / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.9056, allocations: 44.59 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.9057, allocations: 7.812 kB / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.9057, allocations: 33.75 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.9057, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005684/0.9063, allocations: 304.8 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.9063, allocations: 54.59 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.9064, allocations: 91.33 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.9064, allocations: 29.7 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.9065, allocations: 83.64 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.9065, allocations: 18.23 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.9065, allocations: 3.5 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9066, allocations: 314.8 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.9067, allocations: 17.17 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.9067, allocations: 11.38 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.9067, allocations: 12 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.9067, allocations: 3.938 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.33e-05/0.9068, allocations: 67.39 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9068, allocations: 7.688 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.9068, allocations: 240 / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.9069, allocations: 0 / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.9069, allocations: 17.34 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.9069, allocations: 3.984 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.907, allocations: 0 / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.907, allocations: 0 / 1.119 GB, free: 30.33 MB / 0.698 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 (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.9071, allocations: 120.6 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.9071, allocations: 3.906 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.9072, allocations: 77.12 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9072, allocations: 3.938 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9072, allocations: 0.6406 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9072, allocations: 0 / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.9075, allocations: 321.2 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9075, allocations: 3.844 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.9076, allocations: 11.34 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.9076, allocations: 0 / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.9076, allocations: 7.875 kB / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9076, allocations: 0 / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9076, allocations: 0 / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.9078, allocations: 196.7 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.9078, allocations: 81.02 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.9079, allocations: 9.766 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.9079, allocations: 4.062 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.908, allocations: 3.906 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.908, allocations: 2.812 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.908, allocations: 82.22 kB / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.908, allocations: 0 / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002406/0.9083, allocations: 27.42 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001888/0.9085, allocations: 134.6 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.9086, allocations: 40.59 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9086, allocations: 0 / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.9086, allocations: 17.72 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.9087, allocations: 6.781 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.9091, allocations: 216.8 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.9094, allocations: 0.683 MB / 1.121 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.9094, allocations: 3.781 kB / 1.121 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.9094, allocations: 11.25 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9094, allocations: 7.938 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of Templates: time 0.002484/0.9119, allocations: 0.5888 MB / 1.122 GB, free: 28.46 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)