Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.724/1.724, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 179.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 0.6626 GB, free: 4.211 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008639, allocations: 99.8 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.0005943, allocations: 12.75 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6927, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.881, allocations: 141.9 MB / 1.165 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.8813, allocations: 81.55 kB / 1.165 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008615/0.8899, allocations: 2.885 MB / 1.168 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.106e-06/0.89, allocations: 0 / 1.168 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.89, allocations: 0 / 1.168 GB, free: 15.54 MB / 0.7448 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.000412/0.8904, allocations: 347.5 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.8905, allocations: 8.734 kB / 1.168 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.8905, allocations: 3.156 kB / 1.168 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.8906, allocations: 173.7 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.8907, allocations: 384 / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.8907, allocations: 1.547 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.8908, allocations: 41.73 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8908, allocations: 1.438 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8909, allocations: 5.375 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.8909, allocations: 1.312 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.8909, allocations: 17.95 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.8912, allocations: 153.9 kB / 1.168 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.8914, allocations: 45.08 kB / 1.169 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.8914, allocations: 20.38 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.8915, allocations: 1.906 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.8915, allocations: 36.81 kB / 1.169 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.8915, allocations: 3.938 kB / 1.169 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0007398/0.8923, allocations: 312.4 kB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.8923, allocations: 52.55 kB / 1.169 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.8924, allocations: 101.5 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8924, allocations: 25.7 kB / 1.169 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.8925, allocations: 80.14 kB / 1.169 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.8925, allocations: 21.88 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.8925, allocations: 0.7188 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8927, allocations: 320.7 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.8927, allocations: 6.375 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.8927, allocations: 13.36 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.8928, allocations: 32.14 kB / 1.17 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.8928, allocations: 4.938 kB / 1.17 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.8929, allocations: 65.47 kB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.893, allocations: 9.219 kB / 1.17 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.893, allocations: 4 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.893, allocations: 0 / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.8931, allocations: 12.02 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8931, allocations: 1.094 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.8931, allocations: 4 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.8931, allocations: 5.656 kB / 1.17 GB, free: 13.47 MB / 0.7448 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.89e-05/0.8932, allocations: 107.5 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.8932, allocations: 15.12 kB / 1.17 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.8934, allocations: 76.45 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8934, allocations: 0.5 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8934, allocations: 1.719 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8934, allocations: 0.6562 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.8938, allocations: 317.3 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8938, allocations: 2.391 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.8939, allocations: 11.81 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.8939, allocations: 0 / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.8939, allocations: 4.562 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.8939, allocations: 0 / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8939, allocations: 1.219 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.8942, allocations: 181.1 kB / 1.17 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.8942, allocations: 87.86 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8943, allocations: 7.938 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.8943, allocations: 5.375 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.8944, allocations: 2.891 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.8944, allocations: 4.875 kB / 1.17 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.8944, allocations: 79.42 kB / 1.17 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8944, allocations: 4 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002807/0.8947, allocations: 30.27 kB / 1.171 GB, free: 12.5 MB / 0.7448 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.000229/0.895, allocations: 125.7 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.8951, allocations: 39.33 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8951, allocations: 0.5 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.8952, allocations: 18.27 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.8954, allocations: 13.2 kB / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.8959, allocations: 222.5 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.8963, allocations: 0.6804 MB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.859e-05/0.8963, allocations: 9.219 kB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.8964, allocations: 11.44 kB / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of SimCode: time 3.7e-07/0.8964, allocations: 0 / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.003677/0.9, allocations: 0.6107 MB / 1.172 GB, free: 11.04 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)