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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 292.6 MB / 307.5 MB, free: 5.098 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.001178/0.001178, allocations: 177.1 kB / 377.1 MB, free: 1.438 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.373/1.373, allocations: 205.4 MB / 0.6367 GB, free: 8.648 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.0008469/0.0008468, allocations: 87.92 kB / 0.751 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6556/0.9125, allocations: 139.7 MB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.9127, allocations: 83.45 kB / 1.125 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0101/0.9228, allocations: 3.989 MB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9229, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.9229, allocations: 0 / 1.129 GB, free: 32.07 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.0002699/0.9232, allocations: 347.4 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.9232, allocations: 12.02 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.9233, allocations: 14.59 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/0.9233, allocations: 175.2 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.9234, allocations: 3.938 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.9234, allocations: 4 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.9235, allocations: 37.12 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.9235, allocations: 0 / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.9235, allocations: 0.75 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9235, allocations: 4 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.9236, allocations: 11.56 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.9237, allocations: 158.8 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.9239, allocations: 51.11 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.9239, allocations: 0 / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.9239, allocations: 30.56 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9239, allocations: 0 / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005262/0.9245, allocations: 309 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.9245, allocations: 55.41 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.038e-05/0.9245, allocations: 88.56 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.9246, allocations: 29.7 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.9246, allocations: 84.98 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.9246, allocations: 15.66 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.9246, allocations: 8 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.9247, allocations: 318.3 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.9247, allocations: 8 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.9247, allocations: 19.94 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.9247, allocations: 16.23 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9248, allocations: 0 / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.39e-05/0.9248, allocations: 69.05 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.9249, allocations: 4.562 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.9249, allocations: 0.5469 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.9249, allocations: 2.297 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.9249, allocations: 8.562 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.925, allocations: 4 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.925, allocations: 4 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.925, allocations: 4.562 kB / 1.131 GB, free: 30.02 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 4.885e-05/0.9251, allocations: 121.1 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.9251, allocations: 4.406 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.9252, allocations: 73.95 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9252, allocations: 4.688 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9252, allocations: 0 / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9252, allocations: 0 / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.9255, allocations: 317.5 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9255, allocations: 0 / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.9255, allocations: 12 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.9255, allocations: 0.5625 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9256, allocations: 0.6875 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9256, allocations: 0 / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9256, allocations: 4 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.9257, allocations: 193.8 kB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.9258, allocations: 88.48 kB / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.9258, allocations: 4.688 kB / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.9258, allocations: 0 / 1.131 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.9259, allocations: 8.25 kB / 1.131 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.9259, allocations: 0 / 1.131 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.962e-05/0.9259, allocations: 83.28 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9259, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002606/0.9262, allocations: 32.02 kB / 1.132 GB, free: 29.02 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.0001597/0.9263, allocations: 139.1 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.935e-05/0.9264, allocations: 32.05 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9265, allocations: 0 / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.9265, allocations: 19.94 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.9266, allocations: 8 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.927, allocations: 223.5 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.9271, allocations: 0.6803 MB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.9271, allocations: 13.3 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.9271, allocations: 11.44 kB / 1.133 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of SimCode: time 2.01e-07/0.9271, allocations: 0 / 1.133 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.002299/0.9294, allocations: 0.5754 MB / 1.133 GB, free: 27.57 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)