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.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001491/0.001491, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.427/1.427, allocations: 205.1 MB / 222 MB, free: 4.977 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.634/1.634, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.002079/0.002079, allocations: 69.64 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2288, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002614/0.2315, allocations: 1.325 MB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2326, allocations: 0.6355 MB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.2326, allocations: 3.938 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.2326, allocations: 4 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.2327, allocations: 3.938 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.2333, allocations: 122.5 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.2334, allocations: 19.92 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.2334, allocations: 4 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.2334, allocations: 4 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.2335, allocations: 15.92 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2335, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.234, allocations: 347.3 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.234, allocations: 4 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.234, allocations: 7.938 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2343, allocations: 155.9 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2343, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2343, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2343, allocations: 0 / 0.7853 GB, free: 11.36 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.0004161/0.2347, allocations: 359.4 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2348, allocations: 8.031 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.2348, allocations: 8.922 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2349, allocations: 164.4 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2349, allocations: 4.359 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.235, allocations: 4.375 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.2351, allocations: 38.25 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2351, allocations: 192 / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2351, allocations: 3.938 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2351, allocations: 4 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.2352, allocations: 11.94 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.2353, allocations: 157.6 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.2355, allocations: 50.61 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.2355, allocations: 24.88 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2356, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2356, allocations: 30.56 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.2356, allocations: 0 / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005931/0.2362, allocations: 318.1 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2362, allocations: 59.39 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.697e-05/0.2363, allocations: 93.86 kB / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2363, allocations: 25.7 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.2364, allocations: 84.14 kB / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2364, allocations: 19.7 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.2364, allocations: 17.72 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.2365, allocations: 318.8 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.2366, allocations: 15.98 kB / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.2366, allocations: 15.98 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.2367, allocations: 28.86 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2367, allocations: 0 / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.26e-05/0.2368, allocations: 65.62 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2368, allocations: 7.938 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2368, allocations: 4 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2368, allocations: 0 / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.2369, allocations: 11.98 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2369, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.2369, allocations: 8 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.2369, allocations: 4 kB / 0.7871 GB, free: 9.156 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.237, allocations: 106.5 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.237, allocations: 8.453 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.2372, allocations: 81.8 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2372, allocations: 0 / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2372, allocations: 0 / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.2372, allocations: 7.984 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.2375, allocations: 319.3 kB / 0.7876 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2375, allocations: 0 / 0.7876 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.2376, allocations: 12.17 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2376, allocations: 4 kB / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2376, allocations: 4 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2376, allocations: 0 / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2376, allocations: 3.938 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.2378, allocations: 180.4 kB / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.2378, allocations: 85.03 kB / 0.7879 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.2378, allocations: 8.031 kB / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.2379, allocations: 0 / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.2379, allocations: 7.984 kB / 0.7879 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.238, allocations: 0 / 0.7879 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.238, allocations: 79.28 kB / 0.788 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.238, allocations: 0 / 0.788 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002433/0.2383, allocations: 28 kB / 0.788 GB, free: 8.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001712/0.2384, allocations: 119.2 kB / 0.7881 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.804e-05/0.2385, allocations: 35.92 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2385, allocations: 0 / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.2386, allocations: 19.98 kB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2388, allocations: 7.938 kB / 0.7882 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.2393, allocations: 210.2 kB / 0.7884 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2396, allocations: 0.6867 MB / 0.7891 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.898e-05/0.2397, allocations: 11.98 kB / 0.7891 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.2397, allocations: 11.38 kB / 0.7891 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2397, allocations: 0 / 0.7891 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of Templates: time 0.003091/0.2428, allocations: 0.6055 MB / 0.7897 GB, free: 6.391 MB / 0.6075 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)