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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 111.7 kB / 16.38 MB, free: 6.008 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.00133/0.00133, allocations: 188.3 kB / 17.31 MB, free: 5.621 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.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.00156/0.00156, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2025, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00239/0.2049, allocations: 1.267 MB / 0.786 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.2059, allocations: 0.611 MB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.2059, allocations: 0 / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.2059, allocations: 7.938 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.49e-05/0.206, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.2065, allocations: 151.4 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.2066, allocations: 15.94 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.2066, allocations: 4 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.2067, allocations: 7.984 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.2067, allocations: 15.94 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2068, allocations: 0 / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.2073, allocations: 343.3 kB / 0.7872 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.2073, allocations: 4 kB / 0.7872 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.2073, allocations: 7.938 kB / 0.7872 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.2076, allocations: 151.6 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2076, allocations: 0 / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2076, allocations: 3.938 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2076, allocations: 0 / 0.7873 GB, free: 0.5977 MB / 0.6544 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.0003847/0.208, allocations: 355.5 kB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2081, allocations: 16.02 kB / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.2081, allocations: 16.83 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2995/0.5076, allocations: 160.4 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5077, allocations: 3.469 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.5077, allocations: 1.781 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.5078, allocations: 37.44 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5078, allocations: 0.9375 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5078, allocations: 0 / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5078, allocations: 1.719 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.5079, allocations: 13.36 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.508, allocations: 157 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5082, allocations: 50.14 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.5083, allocations: 23.06 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.5083, allocations: 0 / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.5083, allocations: 31.17 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5083, allocations: 1.719 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004993/0.5088, allocations: 311.4 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.267e-05/0.5088, allocations: 53.75 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.969e-05/0.5089, allocations: 96.66 kB / 0.7886 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.5089, allocations: 32.23 kB / 0.7886 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.38e-05/0.5089, allocations: 85.41 kB / 0.7887 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.5089, allocations: 24.88 kB / 0.7887 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.509, allocations: 22.94 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.433e-05/0.509, allocations: 311.4 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.509, allocations: 9.969 kB / 0.7891 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.5091, allocations: 14.14 kB / 0.7891 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.5091, allocations: 38.47 kB / 0.7891 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5091, allocations: 0 / 0.7891 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.262e-05/0.5092, allocations: 60.73 kB / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5092, allocations: 6.781 kB / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.5092, allocations: 0 / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5093, allocations: 5.938 kB / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.5093, allocations: 18.42 kB / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5093, allocations: 0 / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.5093, allocations: 3.812 kB / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.5094, allocations: 0 / 0.7892 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 (7): * Single equations (assignments): 7 * 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 3.892e-05/0.5094, allocations: 114.5 kB / 0.7893 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.5094, allocations: 7.281 kB / 0.7893 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.5095, allocations: 72.17 kB / 0.7894 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5096, allocations: 4.469 kB / 0.7894 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5096, allocations: 6.062 kB / 0.7894 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.5096, allocations: 79.73 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.5096, allocations: 6.656 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.5097, allocations: 2.625 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.5097, allocations: 6.781 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001199/0.5098, allocations: 143.1 kB / 0.7896 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001373/0.51, allocations: 261.2 kB / 0.7899 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.146e-05/0.51, allocations: 16.22 kB / 0.7899 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.445e-05/0.51, allocations: 77.91 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Backend: time 5.11e-07/0.51, allocations: 3.391 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004584/0.5105, allocations: 162.8 kB / 0.7901 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003425/0.5108, allocations: 0.622 MB / 0.7907 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.003214/0.5141, allocations: 1.244 MB / 0.7919 GB, free: 46.09 MB / 0.6544 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)