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.732/1.732, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.001134/0.001133, allocations: 183.8 kB / 371.8 MB, free: 10.25 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.441/1.441, allocations: 205.4 MB / 0.6306 GB, free: 9.961 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.0009101/0.00091, allocations: 94.22 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 11.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2224, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6385/0.861, allocations: 139.6 MB / 1.116 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.8613, allocations: 83.95 kB / 1.116 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01548/0.8768, allocations: 4.264 MB / 1.12 GB, free: 31.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8769, allocations: 0 / 1.12 GB, free: 31.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.8769, allocations: 7.781 kB / 1.12 GB, free: 31.79 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.0004704/0.8774, allocations: 382.4 kB / 1.12 GB, free: 31.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8774, allocations: 15.55 kB / 1.12 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.8775, allocations: 3.781 kB / 1.12 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.8776, allocations: 173.5 kB / 1.121 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.8776, allocations: 3.906 kB / 1.121 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.8776, allocations: 7.156 kB / 1.121 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.8779, allocations: 85.05 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.8779, allocations: 0 / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.8779, allocations: 7.156 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8779, allocations: 0 / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.8781, allocations: 52.83 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.8787, allocations: 336.2 kB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.8789, allocations: 89.8 kB / 1.121 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.879, allocations: 3.938 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.879, allocations: 33.88 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.879, allocations: 0 / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001984/0.881, allocations: 0.6737 MB / 1.122 GB, free: 30.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.8811, allocations: 55.19 kB / 1.122 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.8811, allocations: 95.36 kB / 1.122 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.8812, allocations: 25.7 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.8812, allocations: 93.69 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.8813, allocations: 40.47 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.8813, allocations: 0 / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8814, allocations: 319.9 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.8816, allocations: 32.97 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.8818, allocations: 38.08 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.882, allocations: 37.61 kB / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.882, allocations: 96 / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003936/0.8824, allocations: 132.7 kB / 1.123 GB, free: 29.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8824, allocations: 8.172 kB / 1.123 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.8824, allocations: 0 / 1.123 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8824, allocations: 11.73 kB / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.8826, allocations: 24.73 kB / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8827, allocations: 3.906 kB / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.8828, allocations: 7.719 kB / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.8828, allocations: 3.812 kB / 1.123 GB, free: 29.67 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 0.0001035/0.8829, allocations: 119.4 kB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.8829, allocations: 4.094 kB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.8834, allocations: 140.1 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8834, allocations: 2.953 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8835, allocations: 7.891 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8835, allocations: 0 / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.8842, allocations: 399.8 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8842, allocations: 0 / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.8844, allocations: 29.33 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8844, allocations: 0 / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.8844, allocations: 7.891 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8844, allocations: 0 / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8845, allocations: 7.875 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.885, allocations: 261.1 kB / 1.124 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.8851, allocations: 88.28 kB / 1.124 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.8851, allocations: 4 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.8853, allocations: 11.39 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.8853, allocations: 7.438 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.8854, allocations: 3.812 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.8854, allocations: 90.31 kB / 1.124 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8854, allocations: 0 / 1.124 GB, free: 28.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004203/0.8858, allocations: 38.78 kB / 1.124 GB, free: 28.85 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.0002851/0.8861, allocations: 140.2 kB / 1.124 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.8865, allocations: 94.14 kB / 1.124 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8866, allocations: 0 / 1.124 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.8867, allocations: 56.47 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.887, allocations: 11.94 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.8878, allocations: 370.5 kB / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.8881, allocations: 0.6941 MB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.246e-05/0.8882, allocations: 11.7 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.8882, allocations: 23.03 kB / 1.125 GB, free: 27.76 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.8883, allocations: 0 / 1.125 GB, free: 27.76 MB / 0.698 GB Notification: Performance of Templates: time 0.00412/0.8924, allocations: 1.024 MB / 1.126 GB, free: 27.68 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)