Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009758/0.0009752, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008771/0.000877, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008682/0.0008685, allocations: 13.53 kB / 0.6735 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2658, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00147/0.2673, allocations: 0.9921 MB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005815/0.2679, allocations: 318.1 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.2679, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.268, allocations: 3.984 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.268, allocations: 3.984 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.2685, allocations: 59.8 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.539e-05/0.2685, allocations: 19.97 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.2686, allocations: 3.938 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.2686, allocations: 7.984 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.2687, allocations: 15.94 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2687, allocations: 0 / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.269, allocations: 179.7 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.2691, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.2691, allocations: 33.69 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2693, allocations: 56.11 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2693, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2693, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2693, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 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.0004655/0.2698, allocations: 347.2 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2698, allocations: 12.03 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.2699, allocations: 0 / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.27, allocations: 171 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.27, allocations: 0 / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.2701, allocations: 0 / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.2702, allocations: 41.69 kB / 0.7893 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2702, allocations: 0 / 0.7893 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2702, allocations: 0 / 0.7893 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2703, allocations: 3.984 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.2703, allocations: 15.98 kB / 0.7893 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.2705, allocations: 161.7 kB / 0.7895 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.2707, allocations: 42.5 kB / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2708, allocations: 4 kB / 0.7895 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2708, allocations: 34.56 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2708, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006402/0.2714, allocations: 310.3 kB / 0.7898 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.2715, allocations: 51.41 kB / 0.7899 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.2716, allocations: 101.8 kB / 0.79 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2716, allocations: 25.7 kB / 0.79 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.2716, allocations: 84.14 kB / 0.7901 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.2717, allocations: 15.72 kB / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.2717, allocations: 0 / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2718, allocations: 322.8 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.2719, allocations: 11.98 kB / 0.7904 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.2719, allocations: 15.94 kB / 0.7904 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.2719, allocations: 15.98 kB / 0.7905 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2719, allocations: 7.891 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001031/0.272, allocations: 61.61 kB / 0.7905 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2721, allocations: 15.92 kB / 0.7905 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2721, allocations: 0 / 0.7905 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2721, allocations: 0 / 0.7905 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.2722, allocations: 8 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2722, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2722, allocations: 8 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2722, allocations: 0 / 0.7906 GB, free: 8.18 MB / 0.6075 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 9.62e-05/0.2723, allocations: 117.8 kB / 0.7907 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.2723, allocations: 3.953 kB / 0.7907 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.2725, allocations: 69.64 kB / 0.7907 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2725, allocations: 0 / 0.7907 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2725, allocations: 4.125 kB / 0.7907 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2725, allocations: 4 kB / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.2728, allocations: 315.4 kB / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2728, allocations: 0 / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.2729, allocations: 15.98 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2729, allocations: 4 kB / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2729, allocations: 0 / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2729, allocations: 0 / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2729, allocations: 0 / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.2732, allocations: 202 kB / 0.7913 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.2732, allocations: 77.11 kB / 0.7913 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.2732, allocations: 4 kB / 0.7913 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.2733, allocations: 4.516 kB / 0.7913 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.2734, allocations: 3.984 kB / 0.7913 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2734, allocations: 4 kB / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.2734, allocations: 83.27 kB / 0.7914 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2734, allocations: 0 / 0.7914 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002518/0.2737, allocations: 28 kB / 0.7915 GB, free: 7.137 MB / 0.6075 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.0001851/0.2739, allocations: 127.2 kB / 0.7916 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.274, allocations: 31.94 kB / 0.7916 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.274, allocations: 0 / 0.7916 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.274, allocations: 23.92 kB / 0.7916 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.2742, allocations: 3.953 kB / 0.7916 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.2746, allocations: 229.6 kB / 0.7919 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2749, allocations: 0.6887 MB / 0.7925 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.2749, allocations: 4 kB / 0.7925 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.2749, allocations: 7.438 kB / 0.7925 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2749, allocations: 0 / 0.7925 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of Templates: time 0.003008/0.278, allocations: 0.6141 MB / 0.7931 GB, free: 5.379 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: