Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 293 MB / 309 MB, free: 4.836 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.001645/0.001645, allocations: 176.6 kB / 378.7 MB, free: 1.023 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.498/1.498, allocations: 205.4 MB / 0.6383 GB, free: 8.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007214/0.0007215, allocations: 95.83 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003824, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2202, allocations: 116.4 MB / 0.9905 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6077/0.8279, allocations: 139.8 MB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.8283, allocations: 82.02 kB / 1.127 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.8389, allocations: 4.02 MB / 1.131 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.106e-06/0.839, allocations: 0 / 1.131 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.839, allocations: 0 / 1.131 GB, free: 31.09 MB / 0.7292 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.0003413/0.8393, allocations: 351.3 kB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8394, allocations: 8.031 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.8394, allocations: 9.469 kB / 1.131 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.8396, allocations: 168.3 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.8396, allocations: 384 / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.8396, allocations: 7.703 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.8397, allocations: 45.95 kB / 1.132 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8398, allocations: 192 / 1.132 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8398, allocations: 7.938 kB / 1.132 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8398, allocations: 1.406 kB / 1.132 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.8398, allocations: 8 kB / 1.132 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.84, allocations: 161.2 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.8402, allocations: 42.09 kB / 1.132 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.8403, allocations: 20.86 kB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.8403, allocations: 3.938 kB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.8403, allocations: 30.56 kB / 1.132 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.8404, allocations: 0 / 1.132 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0006287/0.841, allocations: 306.8 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.841, allocations: 55.41 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.237e-05/0.8411, allocations: 100 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.8411, allocations: 29.7 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.8411, allocations: 84.14 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.8412, allocations: 19.22 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.8412, allocations: 4 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.8412, allocations: 314.8 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.8413, allocations: 11.94 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.8413, allocations: 12.3 kB / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.8414, allocations: 37.91 kB / 1.133 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.8414, allocations: 4 kB / 1.133 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.588e-05/0.8415, allocations: 69.75 kB / 1.133 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8415, allocations: 7.938 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8415, allocations: 0 / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.8415, allocations: 0 / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.8416, allocations: 16.12 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.8416, allocations: 0.75 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.8416, allocations: 0 / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.8416, allocations: 0 / 1.133 GB, free: 28.99 MB / 0.7292 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 6.134e-05/0.8417, allocations: 125.8 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.8417, allocations: 7.844 kB / 1.133 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.8419, allocations: 71.06 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8419, allocations: 4 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8419, allocations: 0 / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8419, allocations: 0 / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.8422, allocations: 313.8 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8422, allocations: 0.75 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.8423, allocations: 20.02 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8423, allocations: 0 / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.8423, allocations: 0 / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.8423, allocations: 0 / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8423, allocations: 4.5 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.8425, allocations: 179.9 kB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.8425, allocations: 86.42 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.8425, allocations: 4.75 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.8426, allocations: 7.422 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.8426, allocations: 4 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.8426, allocations: 0.5625 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.8427, allocations: 83.28 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8427, allocations: 0 / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002663/0.8429, allocations: 27.52 kB / 1.134 GB, free: 28 MB / 0.7292 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.0002007/0.8432, allocations: 134.5 kB / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.8433, allocations: 35.92 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8433, allocations: 0 / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.8433, allocations: 19.38 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.8436, allocations: 14.05 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.844, allocations: 219.3 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.8442, allocations: 0.6813 MB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.8442, allocations: 8.391 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.8443, allocations: 12.56 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.8443, allocations: 4 kB / 1.135 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of Templates: time 0.002838/0.8471, allocations: 0.5865 MB / 1.135 GB, free: 26.54 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)