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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.4 MB / 304.3 MB, free: 8.207 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.0009983/0.0009984, allocations: 193.8 kB / 373 MB, free: 10.13 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.383/1.383, allocations: 205.4 MB / 0.6317 GB, free: 9.879 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.0008388/0.0008388, allocations: 99.98 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 12.81 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1821, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6437/0.8258, allocations: 139.6 MB / 1.117 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.8261, allocations: 81.2 kB / 1.117 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.8377, allocations: 4.294 MB / 1.121 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8378, allocations: 4 kB / 1.121 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8378, allocations: 0 / 1.121 GB, free: 31.88 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004066/0.8382, allocations: 385.5 kB / 1.122 GB, free: 31.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.8383, allocations: 11.66 kB / 1.122 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.8383, allocations: 4.844 kB / 1.122 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.8384, allocations: 167.4 kB / 1.122 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.8384, allocations: 4.219 kB / 1.122 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.8385, allocations: 12.16 kB / 1.122 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.8387, allocations: 83.09 kB / 1.122 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.8387, allocations: 7.359 kB / 1.122 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.8387, allocations: 3.938 kB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8387, allocations: 0 / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.839, allocations: 63.75 kB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.8395, allocations: 323.2 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.8397, allocations: 90.42 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.8398, allocations: 32.73 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.8399, allocations: 3.781 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.8399, allocations: 34.56 kB / 1.122 GB, free: 30.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8399, allocations: 3.938 kB / 1.122 GB, free: 30.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001475/0.8414, allocations: 0.67 MB / 1.123 GB, free: 30.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.8414, allocations: 59.34 kB / 1.123 GB, free: 30.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.8415, allocations: 108.1 kB / 1.123 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.8415, allocations: 25.7 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.8416, allocations: 91.23 kB / 1.123 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.8416, allocations: 41.06 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.8416, allocations: 0 / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8417, allocations: 317.4 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.8418, allocations: 39.56 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.842, allocations: 36.83 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.8422, allocations: 84.45 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.8422, allocations: 4 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002724/0.8425, allocations: 124.9 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.8425, allocations: 11.66 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8425, allocations: 0 / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.8425, allocations: 0 / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.8427, allocations: 30.02 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8427, allocations: 4 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.8427, allocations: 11.09 kB / 1.124 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.8428, allocations: 3.812 kB / 1.124 GB, free: 29.72 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 (13): * Single equations (assignments): 13 * 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.741e-05/0.8428, allocations: 117.2 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.8429, allocations: 6.953 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.8432, allocations: 140.7 kB / 1.124 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8432, allocations: 3.906 kB / 1.124 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8432, allocations: 0 / 1.124 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.8432, allocations: 7.938 kB / 1.124 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.8437, allocations: 390.4 kB / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8437, allocations: 0 / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.8439, allocations: 32.33 kB / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8439, allocations: 0 / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8439, allocations: 7.75 kB / 1.125 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8439, allocations: 0 / 1.125 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8439, allocations: 192 / 1.125 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.8444, allocations: 261.1 kB / 1.125 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.8444, allocations: 91.89 kB / 1.125 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.8444, allocations: 11.31 kB / 1.125 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.8446, allocations: 15.23 kB / 1.125 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.8446, allocations: 3.875 kB / 1.125 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.8446, allocations: 9.828 kB / 1.125 GB, free: 28.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.8446, allocations: 75.28 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8447, allocations: 0 / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002441/0.8449, allocations: 45.27 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001848/0.8451, allocations: 139.5 kB / 1.125 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.8454, allocations: 95.08 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8454, allocations: 0 / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.8455, allocations: 47.94 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.8458, allocations: 11.7 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.8464, allocations: 379.4 kB / 1.126 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.8466, allocations: 0.6966 MB / 1.127 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.8467, allocations: 8.453 kB / 1.127 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.8467, allocations: 19.09 kB / 1.127 GB, free: 27.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8467, allocations: 0 / 1.127 GB, free: 27.82 MB / 0.698 GB Notification: Performance of Templates: time 0.002862/0.8496, allocations: 1.084 MB / 1.128 GB, free: 27.74 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)