Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.491/2.491, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001265/0.001265, allocations: 177.9 kB / 371.8 MB, free: 10.82 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.979/1.979, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009455/0.0009456, allocations: 100.4 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006652/0.0006653, allocations: 11.25 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2153, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8784/1.094, allocations: 138.6 MB / 1.115 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.094, allocations: 79.06 kB / 1.115 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01892/1.113, allocations: 4.03 MB / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.113, allocations: 0 / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.113, allocations: 4 kB / 1.119 GB, free: 31.34 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.0003845/1.114, allocations: 348.5 kB / 1.119 GB, free: 30.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.114, allocations: 11.53 kB / 1.119 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/1.114, allocations: 5.469 kB / 1.119 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/1.114, allocations: 171 kB / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.114, allocations: 4.25 kB / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/1.114, allocations: 384 / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.114, allocations: 40.41 kB / 1.119 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.114, allocations: 4.188 kB / 1.119 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.114, allocations: 3.938 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.114, allocations: 0 / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/1.114, allocations: 14.56 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/1.114, allocations: 152.4 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/1.114, allocations: 50.48 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/1.114, allocations: 14.42 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/1.115, allocations: 7.844 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.115, allocations: 30.56 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/1.115, allocations: 0 / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007019/1.115, allocations: 311.8 kB / 1.12 GB, free: 30.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/1.115, allocations: 51.41 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/1.115, allocations: 100.8 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.115, allocations: 25.7 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/1.116, allocations: 84.14 kB / 1.12 GB, free: 29.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/1.116, allocations: 23.25 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/1.116, allocations: 0 / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.116, allocations: 321.4 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/1.116, allocations: 7.688 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/1.116, allocations: 13.59 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.474e-05/1.116, allocations: 32.81 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.116, allocations: 2.719 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001358/1.116, allocations: 67.45 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.116, allocations: 11.81 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.116, allocations: 3.938 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.116, allocations: 0 / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/1.116, allocations: 22.28 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.116, allocations: 4 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/1.116, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/1.116, allocations: 3.844 kB / 1.121 GB, free: 29.52 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 8.717e-05/1.116, allocations: 113.6 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/1.116, allocations: 11.66 kB / 1.121 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/1.117, allocations: 69.33 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.117, allocations: 0 / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.117, allocations: 2.812 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.117, allocations: 3.906 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/1.117, allocations: 314 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.117, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.117, allocations: 14.84 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.117, allocations: 3.938 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/1.117, allocations: 4.031 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/1.117, allocations: 5.156 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.117, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/1.117, allocations: 173.4 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/1.117, allocations: 87.3 kB / 1.121 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.118, allocations: 0 / 1.121 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/1.118, allocations: 7.594 kB / 1.121 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/1.118, allocations: 6.297 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/1.118, allocations: 3.844 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.609e-05/1.118, allocations: 76.59 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.118, allocations: 3.812 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003433/1.118, allocations: 25.81 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.000216/1.118, allocations: 134.9 kB / 1.122 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001147/1.118, allocations: 29.48 kB / 1.122 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.118, allocations: 4 kB / 1.122 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/1.119, allocations: 26.22 kB / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/1.119, allocations: 7.781 kB / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/1.119, allocations: 221.6 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/1.12, allocations: 0.6797 MB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.561e-05/1.12, allocations: 7.75 kB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/1.12, allocations: 15.25 kB / 1.123 GB, free: 27.72 MB / 0.698 GB Notification: Performance of SimCode: time 6.82e-07/1.12, allocations: 0 / 1.123 GB, free: 27.72 MB / 0.698 GB Notification: Performance of Templates: time 0.003258/1.123, allocations: 0.5874 MB / 1.123 GB, free: 27.68 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)