Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.6 MB / 307.6 MB, free: 5.176 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.001026/0.001025, allocations: 183.4 kB / 377.1 MB, free: 1.52 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.428/1.428, allocations: 205.4 MB / 0.6367 GB, free: 8.531 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.0008473/0.0008473, allocations: 89.38 kB / 0.751 GB, free: 63.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004498, allocations: 15.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.286, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6194/0.9054, allocations: 139.9 MB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.9057, allocations: 86.47 kB / 1.125 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.9168, allocations: 4.501 MB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9169, allocations: 0 / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.9169, allocations: 4 kB / 1.129 GB, free: 31.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002638/0.9171, allocations: 351.2 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9172, allocations: 16.02 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.9172, allocations: 10.59 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.42e-05/0.9173, allocations: 164.4 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.9173, allocations: 4 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.9174, allocations: 8.141 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.9175, allocations: 48.69 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9175, allocations: 3.938 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.9175, allocations: 4 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.9175, allocations: 0 / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.9176, allocations: 22.89 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.9177, allocations: 165.2 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.9178, allocations: 63.42 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.9179, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.9179, allocations: 34.56 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.9179, allocations: 3.938 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0009372/0.9188, allocations: 0.5834 MB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.9189, allocations: 55.41 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.217e-05/0.9189, allocations: 89 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.9189, allocations: 29.7 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.919, allocations: 87.55 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.919, allocations: 42.88 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.919, allocations: 0.6562 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.9191, allocations: 318.8 kB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.9191, allocations: 19.14 kB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.9192, allocations: 23.88 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.9192, allocations: 25.25 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.9192, allocations: 0 / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001135/0.9193, allocations: 99.12 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.9193, allocations: 8.688 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9194, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9194, allocations: 8 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.9195, allocations: 16.5 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.9195, allocations: 7.359 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.9195, allocations: 0 / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.9195, allocations: 8.688 kB / 1.132 GB, free: 29.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 (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 6.142e-05/0.9196, allocations: 117.8 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.9196, allocations: 7.906 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.9198, allocations: 105.8 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.9198, allocations: 0 / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9198, allocations: 0 / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9198, allocations: 1.219 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.9201, allocations: 359.5 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9202, allocations: 1.531 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.697e-05/0.9203, allocations: 19.42 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9203, allocations: 4 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.9203, allocations: 0.625 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.9203, allocations: 0 / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9203, allocations: 4 kB / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.9205, allocations: 223.4 kB / 1.132 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.9205, allocations: 81.14 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.9205, allocations: 1.125 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.9206, allocations: 8 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.9206, allocations: 7.609 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.9207, allocations: 0.8438 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.925e-05/0.9207, allocations: 86.95 kB / 1.133 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9207, allocations: 0 / 1.133 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002377/0.9209, allocations: 39.94 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001817/0.9211, allocations: 146.3 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.9213, allocations: 63.05 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9213, allocations: 0 / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.9213, allocations: 35.47 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.9215, allocations: 5.656 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.9219, allocations: 342.7 kB / 1.133 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.922, allocations: 0.6874 MB / 1.134 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.663e-05/0.9221, allocations: 13.14 kB / 1.134 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.9221, allocations: 15.44 kB / 1.134 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9221, allocations: 0 / 1.134 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.002623/0.9248, allocations: 0.8531 MB / 1.135 GB, free: 26.17 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)