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_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.4 MB / 304.3 MB, free: 8.047 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.001105/0.001105, allocations: 181.9 kB / 373 MB, free: 10.16 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.826/1.826, allocations: 205.4 MB / 0.6317 GB, free: 9.93 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.001434/0.001434, allocations: 86.31 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005016, allocations: 12 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2402, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7338/0.974, allocations: 138.8 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.9743, allocations: 78.86 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.985, allocations: 4.029 MB / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.136e-06/0.985, allocations: 0 / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.985, allocations: 3.938 kB / 1.12 GB, free: 31.89 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.0003282/0.9854, allocations: 345.1 kB / 1.121 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9854, allocations: 11.59 kB / 1.121 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.9855, allocations: 5.469 kB / 1.121 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.9856, allocations: 179 kB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.9856, allocations: 384 / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.9856, allocations: 4.312 kB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.9857, allocations: 39.83 kB / 1.121 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.9858, allocations: 192 / 1.121 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.9858, allocations: 7.5 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.9858, allocations: 0 / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.9858, allocations: 11.05 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.986, allocations: 154.5 kB / 1.121 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.9862, allocations: 51 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.9862, allocations: 16 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.9863, allocations: 3.875 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.9863, allocations: 30.56 kB / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.9863, allocations: 0 / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005841/0.9869, allocations: 313.8 kB / 1.121 GB, free: 30.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.9869, allocations: 51.41 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.987, allocations: 97.03 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.987, allocations: 29.14 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.9871, allocations: 80.14 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.9871, allocations: 25.44 kB / 1.122 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.9871, allocations: 0 / 1.122 GB, free: 30.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.9872, allocations: 318.5 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.9872, allocations: 14.64 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.9873, allocations: 11.16 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.9873, allocations: 40.25 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.9873, allocations: 0 / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.31e-05/0.9874, allocations: 64.12 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.9874, allocations: 7.812 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.9874, allocations: 0 / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.9875, allocations: 0.5156 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.9875, allocations: 15.44 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9875, allocations: 0.8594 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.9876, allocations: 4 kB / 1.122 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.9876, allocations: 2.812 kB / 1.122 GB, free: 30.08 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.445e-05/0.9876, allocations: 122.1 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.9877, allocations: 7.844 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.9878, allocations: 71.56 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9878, allocations: 3.984 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9878, allocations: 0 / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.9878, allocations: 0 / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.9881, allocations: 325.4 kB / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9881, allocations: 0 / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.9882, allocations: 10.5 kB / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.9882, allocations: 3.906 kB / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.9882, allocations: 0 / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9882, allocations: 0 / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9882, allocations: 3.938 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.9884, allocations: 180.5 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.9885, allocations: 91.16 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.9885, allocations: 256 / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.9885, allocations: 4 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.9886, allocations: 9.625 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.9886, allocations: 0 / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.9886, allocations: 79.16 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9886, allocations: 0 / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002456/0.9889, allocations: 29.73 kB / 1.123 GB, free: 29.28 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.0001844/0.9891, allocations: 140.1 kB / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.9892, allocations: 31.81 kB / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9892, allocations: 0 / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.9892, allocations: 18.81 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.9894, allocations: 7.812 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.9898, allocations: 218.8 kB / 1.123 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.9901, allocations: 0.6797 MB / 1.124 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.9901, allocations: 15.89 kB / 1.124 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.9901, allocations: 7.438 kB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.9901, allocations: 0 / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of Templates: time 0.002526/0.9926, allocations: 0.6015 MB / 1.125 GB, free: 28.22 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)