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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 107.8 kB / 16.37 MB, free: 6.309 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.0017/0.0017, allocations: 192.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.753/1.753, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.002221/0.002221, allocations: 79.89 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2584, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002389/0.2608, allocations: 1.275 MB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2618, allocations: 0.6227 MB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.2619, allocations: 0 / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.2619, allocations: 3.938 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.181e-05/0.2619, allocations: 0 / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.2625, allocations: 151.4 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.2625, allocations: 31.8 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.2626, allocations: 11.98 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.2626, allocations: 8 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.2627, allocations: 15.91 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2627, allocations: 4 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.2632, allocations: 339.3 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.2632, allocations: 8 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.2632, allocations: 15.92 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.2635, allocations: 147.7 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2635, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2635, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2635, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 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.0003967/0.2639, allocations: 371.4 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.264, allocations: 11.97 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.264, allocations: 12.84 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2986/0.5626, allocations: 164.8 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.5626, allocations: 1.062 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.5627, allocations: 5.969 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5628, allocations: 51.02 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5628, allocations: 0.9375 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5629, allocations: 1.812 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.5629, allocations: 1.344 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.5629, allocations: 21.62 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.5631, allocations: 169.4 kB / 0.7881 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/0.5632, allocations: 61.86 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.5632, allocations: 33.31 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.5633, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.5633, allocations: 35.08 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.5633, allocations: 0 / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.000965/0.5643, allocations: 0.5925 MB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.5643, allocations: 54.12 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.855e-05/0.5643, allocations: 99.77 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.5643, allocations: 25.7 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.5644, allocations: 80.14 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.5644, allocations: 46.44 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.5644, allocations: 29.34 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.5645, allocations: 314.2 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.5645, allocations: 19.47 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.5646, allocations: 28.73 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.5646, allocations: 58.8 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5647, allocations: 0 / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001163/0.5648, allocations: 89.56 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.5648, allocations: 4.938 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5648, allocations: 3.734 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5648, allocations: 4.469 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.5649, allocations: 21.72 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.565, allocations: 8.75 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.565, allocations: 2.438 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.565, allocations: 5.844 kB / 0.7897 GB, free: 47.43 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.565, allocations: 117.4 kB / 0.7898 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.5651, allocations: 6.75 kB / 0.7898 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.5652, allocations: 111.5 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5652, allocations: 1.922 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5653, allocations: 0 / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.5653, allocations: 84.22 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.5653, allocations: 1.406 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.5654, allocations: 4.469 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.5654, allocations: 9.094 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001795/0.5656, allocations: 180 kB / 0.7902 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002068/0.5658, allocations: 294.8 kB / 0.7905 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.385e-05/0.5658, allocations: 35.47 kB / 0.7905 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.424e-05/0.5659, allocations: 80.17 kB / 0.7906 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Backend: time 6.21e-07/0.5659, allocations: 2.625 kB / 0.7906 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.5664, allocations: 178.4 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004462/0.5668, allocations: 0.7107 MB / 0.7914 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.003368/0.5702, allocations: 1.528 MB / 0.7929 GB, free: 46.03 MB / 0.6544 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)