Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 100.1 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.001007/0.001007, allocations: 177.3 kB / 15.95 MB, free: 216 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.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.766/1.766, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005696/0.0005697, allocations: 16.47 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2497, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001559/0.2513, allocations: 1.175 MB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000628/0.252, allocations: 348.4 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.252, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.252, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.2521, allocations: 3.984 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.2525, allocations: 75.72 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.2526, allocations: 39.89 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.2526, allocations: 7.984 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.2527, allocations: 19.88 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.2527, allocations: 31.89 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2528, allocations: 4 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.253, allocations: 179.7 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.2531, allocations: 8 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.2531, allocations: 33.64 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2533, allocations: 80.05 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.2533, allocations: 0 / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2533, allocations: 4 kB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2533, allocations: 0 / 0.7891 GB, free: 9.941 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000535/0.2538, allocations: 379.2 kB / 0.7894 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2539, allocations: 8.031 kB / 0.7894 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.2539, allocations: 7.906 kB / 0.7894 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.254, allocations: 163 kB / 0.7896 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2541, allocations: 8 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.2541, allocations: 8 kB / 0.7896 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.2543, allocations: 77.66 kB / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2544, allocations: 0 / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2544, allocations: 11.88 kB / 0.7897 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2544, allocations: 7.984 kB / 0.7897 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.2546, allocations: 55.97 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.2552, allocations: 328.6 kB / 0.7901 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.2555, allocations: 90.47 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2555, allocations: 3.984 kB / 0.7902 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2556, allocations: 38.56 kB / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2556, allocations: 4 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001661/0.2573, allocations: 0.6735 MB / 0.7909 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2573, allocations: 51.41 kB / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.2574, allocations: 105.9 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2574, allocations: 25.7 kB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.2574, allocations: 92.03 kB / 0.7911 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.2575, allocations: 39.45 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2575, allocations: 0 / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2576, allocations: 314.8 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.2577, allocations: 35.97 kB / 0.7915 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.2579, allocations: 39.92 kB / 0.7915 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.258, allocations: 42.61 kB / 0.7916 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.258, allocations: 0 / 0.7916 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003089/0.2583, allocations: 129.7 kB / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2583, allocations: 4 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2584, allocations: 0 / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2584, allocations: 0 / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2585, allocations: 35.92 kB / 0.7917 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2585, allocations: 3.938 kB / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.2586, allocations: 4 kB / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2586, allocations: 8 kB / 0.7918 GB, free: 6.891 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 (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 8.339e-05/0.2587, allocations: 117.8 kB / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.2588, allocations: 4 kB / 0.7919 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.2591, allocations: 145.4 kB / 0.792 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2591, allocations: 0 / 0.792 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2592, allocations: 7.953 kB / 0.792 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2592, allocations: 0 / 0.792 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.2597, allocations: 390.5 kB / 0.7924 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2597, allocations: 3.938 kB / 0.7924 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.2599, allocations: 27.98 kB / 0.7924 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2599, allocations: 8 kB / 0.7924 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2599, allocations: 7.953 kB / 0.7924 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2599, allocations: 3.938 kB / 0.7924 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2599, allocations: 0 / 0.7924 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.2604, allocations: 251.5 kB / 0.7927 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.2605, allocations: 89.05 kB / 0.7928 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.2605, allocations: 3.984 kB / 0.7928 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2606, allocations: 7.953 kB / 0.7928 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.2606, allocations: 7.984 kB / 0.7928 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2607, allocations: 8 kB / 0.7928 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.2607, allocations: 87.28 kB / 0.7929 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2607, allocations: 0 / 0.7929 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002764/0.261, allocations: 35.98 kB / 0.7929 GB, free: 5.598 MB / 0.6075 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.0002109/0.2612, allocations: 143.1 kB / 0.793 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.2615, allocations: 87.94 kB / 0.7931 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2615, allocations: 4 kB / 0.7931 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.2617, allocations: 44.36 kB / 0.7932 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.2619, allocations: 8.219 kB / 0.7932 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.2625, allocations: 389.3 kB / 0.7936 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2628, allocations: 0.6926 MB / 0.7942 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.907e-05/0.2629, allocations: 20.59 kB / 0.7942 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.2629, allocations: 11.44 kB / 0.7943 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2629, allocations: 0 / 0.7943 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.003257/0.2662, allocations: 1.062 MB / 0.7953 GB, free: 3.117 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: